-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX][Relay] Support "tf_crop_and_resize" in relay Resize op. #9475
Conversation
009fe49
to
50a608a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks, overall is well structured and LGTM.
* \param array Input NDArray | ||
* \return Converted Array. | ||
*/ | ||
static inline Array<FloatImm> ToFloatVector(const runtime::NDArray& array) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, why was this needed? I dont see how it interacts with resize.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used it in DynamicToStatic to convert the ROI argument.
6031762
to
19b31dc
Compare
…e#9475) * add fallback to opset 11 * Support tf_crop_and_resize in resize op * change api use in the rest of the codebase really fix the tests * respond to review comments, improve doc strings * fix docstring indentation * remove N anc C from resize roi
…e#9475) * add fallback to opset 11 * Support tf_crop_and_resize in resize op * change api use in the rest of the codebase really fix the tests * respond to review comments, improve doc strings * fix docstring indentation * remove N anc C from resize roi
…e#9475) * add fallback to opset 11 * Support tf_crop_and_resize in resize op * change api use in the rest of the codebase really fix the tests * respond to review comments, improve doc strings * fix docstring indentation * remove N anc C from resize roi
…e#9475) * add fallback to opset 11 * Support tf_crop_and_resize in resize op * change api use in the rest of the codebase really fix the tests * respond to review comments, improve doc strings * fix docstring indentation * remove N anc C from resize roi
…e#9475) * add fallback to opset 11 * Support tf_crop_and_resize in resize op * change api use in the rest of the codebase really fix the tests * respond to review comments, improve doc strings * fix docstring indentation * remove N anc C from resize roi
No description provided.