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

   This commit adds two convenient methods for `ShapeTuple`.
   
   ```C++
   // Returns the number of elements in the shape,
   // i.e. the product of all dimensions
   ShapeTupleObj::index_type Sh)apeTupleObj::Numel() const;
   
   // Printing method for shape
   std::ostream& operator<<(std::ostream& os, const ShapeTuple& shape);
   ```


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