Skip to content

Commit a37c3d0

Browse files
authored
try use COPY-FROM to avoid ci error
1 parent 44480de commit a37c3d0

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

docs/api/paddle/vision/transforms/Compose_cn.rst

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,5 @@ Compose
2020
代码示例
2121
:::::::::
2222

23-
.. code-block:: python
2423

25-
from paddle.vision.datasets import Flowers
26-
from paddle.vision.transforms import Compose, ColorJitter, Resize
27-
28-
transform = Compose([ColorJitter(), Resize(size=608)])
29-
flowers = Flowers(mode='test', transform=transform)
30-
31-
for i in range(10):
32-
sample = flowers[i]
33-
print(sample[0].size, sample[1])
34-
35-
24+
COPY-FROM: paddle.vision.transforms.Compose

0 commit comments

Comments
 (0)