tvm
|
Primitive value. More...
#include <struct_info.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (PrimStructInfoNode, StructInfoNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (StructInfoNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
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... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "relax.PrimStructInfo" |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const char * | _type_key = "ir.StructInfo" |
static constexpr const uint32_t | _type_child_slots = 7 |
Primitive value.
|
inlinestatic |
tvm::relax::PrimStructInfoNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | PrimStructInfoNode | , |
StructInfoNode | |||
) |
|
staticconstexpr |
DataType tvm::relax::PrimStructInfoNode::dtype |
Underlying data type of the primitive value.
Optional<PrimExpr> tvm::relax::PrimStructInfoNode::value |
Underlying primitive value, if known.