tvm
|
Primitive value. More...
#include <struct_info.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.PrimStructInfo", PrimStructInfoNode, StructInfoNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.StructInfo", StructInfoNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
ffi::Optional< PrimExpr > | value |
Underlying primitive value, if known. More... | |
DataType | dtype |
Underlying data type of the primitive value. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const uint32_t | _type_child_slots = 7 |
Primitive value.
|
inlinestatic |
tvm::relax::PrimStructInfoNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.PrimStructInfo" | , |
PrimStructInfoNode | , | ||
StructInfoNode | |||
) |
DataType tvm::relax::PrimStructInfoNode::dtype |
Underlying data type of the primitive value.
ffi::Optional<PrimExpr> tvm::relax::PrimStructInfoNode::value |
Underlying primitive value, if known.