You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/10 02:06:44 UTC

[GitHub] [tvm] sisleyli commented on issue #8432: [Bug.Relay.InferType] Type Inference Report Mismatch after One Operator Is Removed

sisleyli commented on issue #8432:
URL: https://github.com/apache/tvm/issues/8432#issuecomment-1309668295

   Hi @Lunderberg @Johnson9009 , I had the same problem and I found a way to circumvent it.
   When we inherit `ExprMutator` to modify the original model, we can overload `VisitType` to erase all type information except variable, and then use InferType to infer other nodes' types.
   Does it make sense to you? I hope this method can help you.


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org