Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
ee570b66
Commit
ee570b66
authored
Nov 02, 2018
by
CUI Hao
Committed by
Soumith Chintala
Nov 01, 2018
Browse files
Replace deprecated doc reference to `functional.scale` by `functional.resize` (#649)
parent
7e973b8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/transforms/functional.py
torchvision/transforms/functional.py
+1
-1
No files found.
torchvision/transforms/functional.py
View file @
ee570b66
...
@@ -336,7 +336,7 @@ def resized_crop(img, i, j, h, w, size, interpolation=Image.BILINEAR):
...
@@ -336,7 +336,7 @@ def resized_crop(img, i, j, h, w, size, interpolation=Image.BILINEAR):
j: Left pixel coordinate.
j: Left pixel coordinate.
h: Height of the cropped image.
h: Height of the cropped image.
w: Width of the cropped image.
w: Width of the cropped image.
size (sequence or int): Desired output size. Same semantics as ``
scal
e``.
size (sequence or int): Desired output size. Same semantics as ``
resiz
e``.
interpolation (int, optional): Desired interpolation. Default is
interpolation (int, optional): Desired interpolation. Default is
``PIL.Image.BILINEAR``.
``PIL.Image.BILINEAR``.
Returns:
Returns:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment