Commit ee570b66 authored by CUI Hao's avatar CUI Hao Committed by Soumith Chintala
Browse files

Replace deprecated doc reference to `functional.scale` by `functional.resize` (#649)

parent 7e973b8a
......@@ -336,7 +336,7 @@ def resized_crop(img, i, j, h, w, size, interpolation=Image.BILINEAR):
j: Left pixel coordinate.
h: Height of the cropped image.
w: Width of the cropped image.
size (sequence or int): Desired output size. Same semantics as ``scale``.
size (sequence or int): Desired output size. Same semantics as ``resize``.
interpolation (int, optional): Desired interpolation. Default is
``PIL.Image.BILINEAR``.
Returns:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment