MarisaKirisame commented on a change in pull request #5039: [Relay] 
GradientCell Relay Pass
URL: https://github.com/apache/incubator-tvm/pull/5039#discussion_r391389331
 
 

 ##########
 File path: src/ir/type_functor.cc
 ##########
 @@ -151,6 +151,7 @@ Type TypeMutator::VisitType_(const FuncTypeNode* op) {
 
   Array<Type> new_args = MutateArray(op->arg_types);
   changed = changed || !new_args.same_as(op->arg_types);
+  CHECK(new_args.size() == op->arg_types.size());
 
 Review comment:
   can you remove this? it was only for debugging.

----------------------------------------------------------------
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

Reply via email to