tvm
|
Primitive data types used in the low-level IR. More...
#include <type.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (PrimTypeNode, TypeNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (TypeNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
runtime::DataType | dtype |
The corresponding dtype field. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "ir.PrimType" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.Type" |
static constexpr const uint32_t | _type_child_slots = 14 |
Primitive data types used in the low-level IR.
PrimType represents POD-values and handles that are not automatically managed by the runtime.
|
inlinestatic |
tvm::PrimTypeNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | PrimTypeNode | , |
TypeNode | |||
) |
|
staticconstexpr |
runtime::DataType tvm::PrimTypeNode::dtype |
The corresponding dtype field.