|
tvm
|
The tensor argument information. More...
#include <arg_info.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("s_tir.meta_schedule.TensorInfo", TensorInfoObj, ArgInfoObj) | |
| ffi::ObjectRef | AsJSON () const |
| Converts the ArgInfo to its corresponding JSON representation. | |
Public Member Functions inherited from tvm::s_tir::meta_schedule::ArgInfoObj | |
| TVM_FFI_DECLARE_OBJECT_INFO ("s_tir.meta_schedule.ArgInfo", ArgInfoObj, ffi::Object) | |
| virtual | ~ArgInfoObj ()=default |
| Default destructor. | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Public Attributes | |
| DLDataType | dtype |
| The data type of the tensor. | |
| ffi::Shape | shape |
| The shape of the tensor. | |
The tensor argument information.
|
virtual |
Converts the ArgInfo to its corresponding JSON representation.
Implements tvm::s_tir::meta_schedule::ArgInfoObj.
|
inlinestatic |
| tvm::s_tir::meta_schedule::TensorInfoObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "s_tir.meta_schedule.TensorInfo" | , |
| TensorInfoObj | , | ||
| ArgInfoObj | |||
| ) |
| DLDataType tvm::s_tir::meta_schedule::TensorInfoObj::dtype |
The data type of the tensor.
| ffi::Shape tvm::s_tir::meta_schedule::TensorInfoObj::shape |
The shape of the tensor.