yzhliu edited a comment on pull request #6364:
URL: https://github.com/apache/incubator-tvm/pull/6364#issuecomment-686165595


   Thanks @zhiics @junrushao1994 for the suggestion. The annotator does work. 
However I noticed the printer of constant node prints annotation (and typer) 
twice. like,
   
   ```
   conv2d(%x, %conv.w, meta[relay.Constant][0] /* ty=Tensor[(1), int64] */ /* 
ty=Tensor[(1), int64] */
   ```
   
   Because for Print(meta=false), constant node does not know how to print 
itself, and fallback to Print(meta=true), the annotation therefore be added 
twice in `Print()`.
   
   Please advise if the fix makes sense.


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


Reply via email to