Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Apr 3, 2019
1 parent 352dede commit 2926495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/mxnet/gluon/data/vision/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ class CropResize(HybridBlock):
>>> transformer(image)
<NDArray 100x100x3 @cpu(0)>
>>> image = mx.nd.random.uniform(0, 255, (3, 224, 224, 3)).astype(dtype=np.uint8)
>>> transformer(image)
<NDArray 3x100x100x3 @cpu(0)>
>>> transformer = vision.transforms.CropResize(x=0, y=0, width=100, height=100, size=(50, 50), interpolation=1)
>>> transformer(image)
Expand Down

0 comments on commit 2926495

Please sign in to comment.