mbrookhart commented on a change in pull request #9475:
URL: https://github.com/apache/tvm/pull/9475#discussion_r749522486
##########
File path: src/relay/op/image/resize.cc
##########
@@ -215,6 +225,8 @@ bool Resize3DRel(const Array<Type>& types, int num_inputs,
const Attrs& attrs,
const Resize3DAttrs* param = attrs.as<Resize3DAttrs>();
ICHECK(param != nullptr);
+ ICHECK(param->size.size() == 3);
+ ICHECK(param->roi.size() == 10);
Review comment:
Rank here includes N and C, for for 3D resize, rank is 5, and roi is len
10.
--
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]