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 2021/06/18 21:01:46 UTC

[GitHub] [tvm] hgt312 opened a new pull request #8279: [IRPrinter] Prevent multiple printing of optional info

hgt312 opened a new pull request #8279:
URL: https://github.com/apache/tvm/pull/8279


   Currently, when encountering the same expr, it will add optional info into the `Doc` without check.
   
   For example:
   ```
   c = relay.const(1)
   call = relay.add(c, c)
   m = tvm.IRModule.from_expr(call)
   m = relay.transform.InferType()(m)
   ```
   IR:
   ```
   #[version = "0.0.5"]
   def @main() -> int32 {
     add(1 /* ty=int32 */, 1 /* ty=int32 */ /* ty=int32 */) /* ty=int32 */
   }
   ```
   
   @yzhliu @comaniac 


-- 
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:
users@infra.apache.org



[GitHub] [tvm] masahi merged pull request #8279: [IRPrinter] Prevent multiple printing of optional info

Posted by GitBox <gi...@apache.org>.
masahi merged pull request #8279:
URL: https://github.com/apache/tvm/pull/8279


   


-- 
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:
users@infra.apache.org