Beya2019 opened a new pull request #8116:
URL: https://github.com/apache/tvm/pull/8116


   Fixed some syntax errors in the hybrid_script document.
   ```
   for i in range(5):
       s = 0 # declaration, this s will be a 1-array in lowered IR
       for j in range(5):
          s += a[i, j] # do something with sum
       b[i] = sum # you can still use sum in this level
   a[0] = s # you CANNOT use s here, even though it is allowed in conventional 
Python
   ```
   
   @tqchen @merrymercy @kevinthesun Would you please have a look at this? 
Thanks very much.


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