echuraev commented on code in PR #15419:
URL: https://github.com/apache/tvm/pull/15419#discussion_r1282865407
##########
include/tvm/runtime/vm/bytecode.h:
##########
@@ -201,6 +203,10 @@ struct Instruction {
Index alignment;
/*! \brief The hint of the dtype. */
DLDataType dtype_hint;
+ /*! \brief The number of dimensions. */
+ uint32_t ndim;
+ /*! \brief The shape of tensor. */
+ int64_t* shape;
Review Comment:
Done, put `shape` and `allocation_size` into a union.
--
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]