gemini-code-assist[bot] commented on code in PR #19698:
URL: https://github.com/apache/tvm/pull/19698#discussion_r3397212963
##########
python/tvm/relax/frontend/onnx/onnx_frontend.py:
##########
@@ -3230,14 +3230,18 @@ def _impl_v18(cls, bb, inputs, attr, params):
use_dynamic_roi = roi_dynamic_vec is not None
- # Convert scales to sizes if needed.
+ # Convert scales to sizes if needed, preserving the orginal spatial
scales so
+ # the coordinate transformation uses the exact ONNX scale value rather
than the
+ # lossy ratio derived from floor(input * scale) / input.
Review Comment:

There is a typo in the comment: 'orginal' should be 'original'.
```suggestion
# Convert scales to sizes if needed, preserving the original spatial
scales so
# the coordinate transformation uses the exact ONNX scale value
rather than the
# lossy ratio derived from floor(input * scale) / input.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]