tvm
|
The tensor argument information. More...
#include <arg_info.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (TensorInfoNode, ArgInfoNode) | |
ObjectRef | AsJSON () const |
Converts the ArgInfo to its corresponding JSON representation. More... | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (ArgInfoNode, runtime::Object) | |
virtual | ~ArgInfoNode ()=default |
Default destructor. More... | |
Static Public Member Functions | |
static void | RegisterReflection () |
Public Attributes | |
runtime::DataType | dtype |
The data type of the tensor. More... | |
ffi::Shape | shape |
The shape of the tensor. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "meta_schedule.TensorInfo" |
![]() | |
static constexpr const char * | _type_key = "meta_schedule.ArgInfo" |
The tensor argument information.
|
virtual |
Converts the ArgInfo to its corresponding JSON representation.
Implements tvm::meta_schedule::ArgInfoNode.
|
inlinestatic |
tvm::meta_schedule::TensorInfoNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | TensorInfoNode | , |
ArgInfoNode | |||
) |
|
staticconstexpr |
runtime::DataType tvm::meta_schedule::TensorInfoNode::dtype |
The data type of the tensor.
ffi::Shape tvm::meta_schedule::TensorInfoNode::shape |
The shape of the tensor.