guan404ming opened a new pull request, #18667:
URL: https://github.com/apache/tvm/pull/18667

   ## Why
   
   ONNX models use the Size operator to get total element count of a tensor. 
Relax didn't have a native equivalent.
   
   ## How
   
   - Adds R.size(tensor) operator that returns the total number of elements in 
a tensor as a scalar int64


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to