diff --git a/python/tvm/relay/op/image/image.py b/python/tvm/relay/op/image/image.py index 53ef95751c1ca..047be0c2ee285 100644 --- a/python/tvm/relay/op/image/image.py +++ b/python/tvm/relay/op/image/image.py @@ -68,7 +68,7 @@ def resize1d( to the coordinate in the original tensor. Defintions can be found in topi/image/resize.py. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method @@ -164,7 +164,7 @@ def resize2d( to the coordinate in the original tensor. Defintions can be found in topi/image/resize.py. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method @@ -274,7 +274,7 @@ def resize3d( to the coordinate in the original tensor. Defintions can be found in topi/image/resize.py. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method diff --git a/python/tvm/topi/image/resize.py b/python/tvm/topi/image/resize.py index 6a5549ecc7837..681de2f35b0ab 100644 --- a/python/tvm/topi/image/resize.py +++ b/python/tvm/topi/image/resize.py @@ -251,7 +251,7 @@ def _resize_1d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method @@ -424,7 +424,7 @@ def resize1d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: Method for rounding coordinate locations @@ -570,7 +570,7 @@ def _resize_2d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method @@ -779,7 +779,7 @@ def resize2d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: Method for rounding coordinate locations @@ -1030,7 +1030,7 @@ def _resize_3d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: string, optional indicates how to find the "nearest" pixel in nearest_neighbor method @@ -1251,7 +1251,7 @@ def resize3d( Describes how to transform the coordinate in the resized tensor to the coordinate in the original tensor. [half_pixel, align_corners, asymmetric, pytorch_half_pixel, - tf_half_pixel_for_nn, and tf_crop_and_resize]. + tf_half_pixel_for_nn, and tf_crop_and_resize]. rounding_method: Method for rounding coordinate locations