|
tvm
|
Primitive data types used in the low-level IR. More...
#include <base_expr.h>
Public Member Functions | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.PrimType", PrimTypeNode, TypeNode) | |
Public Member Functions inherited from tvm::TypeNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.Type", TypeNode, ffi::Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::TypeNode | |
| static void | RegisterReflection () |
Public Attributes | |
| DLDataType | dtype |
| The raw DLPack dtype represented by this primitive type. | |
Public Attributes inherited from tvm::TypeNode | |
| Span | span |
| Span that points to the original source code. Reserved debug information. | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::TypeNode | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
| static constexpr const uint32_t | _type_child_slots = 14 |
Primitive data types used in the low-level IR.
PrimType represents primitive POD values and the void sentinel.
| tvm::PrimTypeNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.PrimType" | , |
| PrimTypeNode | , | ||
| TypeNode | |||
| ) |
| DLDataType tvm::PrimTypeNode::dtype |
The raw DLPack dtype represented by this primitive type.