kevinthesun commented on a change in pull request #4417: [TOPI][RELAY][OP] add
op crop_and_resize
URL: https://github.com/apache/incubator-tvm/pull/4417#discussion_r350351681
##########
File path: python/tvm/relay/op/image/image.py
##########
@@ -60,3 +60,53 @@ def resize(data,
The resized result.
"""
return _make.resize(data, size, layout, method, align_corners, out_dtype)
+
+
+def crop_and_resize(data,
+ boxes,
+ box_indices,
+ crop_size,
+ layout,
+ method="bilinear",
+ extrapolation_value=0,
+ out_dtype=None):
+ """Crop input images and resize them.
+
+ method indicates the algorithm to be used while calculating ghe out value
Review comment:
typo `ghe`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services