gemini-code-assist[bot] commented on code in PR #19698:
URL: https://github.com/apache/tvm/pull/19698#discussion_r3397212974
##########
python/tvm/relax/frontend/onnx/onnx_frontend.py:
##########
@@ -3295,6 +3315,21 @@ def _impl_v18(cls, bb, inputs, attr, params):
)
else: # ndims == 5
roi3d = _topi_resize3d_roi_from_onnx_ncdhw_spatial(roi_static)
+ if original_spatial_scales is not None:
+ return bb.emit_te(
+ topi.image.resize3d,
+ x,
+ roi3d,
+ sizes,
+ "NCDHW",
+ relax_mode,
Review Comment:

For consistency with the 1D and 2D resize implementations (which use
`topi_mode`), we should pass `topi_mode` here instead of `relax_mode`.
```suggestion
topi_mode,
```
--
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]