shengxinhu opened a new pull request #9669:
URL: https://github.com/apache/tvm/pull/9669


   [BugFix] DialectRewriter should not tranform scaler to let expr
   
   1. shapeOfAttrs always reported not registered when import tvm, I found 
vm.shape_of will use it, and changed shapeOfAttrs register location in vm.cc, 
the issue will be fixed. I guess it may relate to gcc link  stage. Anyway, I 
think it may improve tvm  build process. My enviroment: gcc version 5.4.0 
20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12). 
   2. DialectRewiter will transform tupleNode with constant fileds to let expr, 
but in fuseOps pass, scaler will be fused, it will lead to scaler to free var.
   
   


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


Reply via email to