tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::relax::PrimStructInfoNode Class Reference

Primitive value. More...

#include <struct_info.h>

Inheritance diagram for tvm::relax::PrimStructInfoNode:
Collaboration diagram for tvm::relax::PrimStructInfoNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (PrimStructInfoNode, StructInfoNode)
 
- Public Member Functions inherited from tvm::relax::StructInfoNode
 TVM_DECLARE_BASE_OBJECT_INFO (StructInfoNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::relax::StructInfoNode
static void RegisterReflection ()
 

Public Attributes

Optional< PrimExprvalue
 Underlying primitive value, if known. More...
 
DataType dtype
 Underlying data type of the primitive value. More...
 
- Public Attributes inherited from tvm::relax::StructInfoNode
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 Public Attributes inherited from tvm::relax::StructInfoNode
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
 

Detailed Description

Primitive value.

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::PrimStructInfoNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::relax::PrimStructInfoNode::TVM_DECLARE_FINAL_OBJECT_INFO ( PrimStructInfoNode  ,
StructInfoNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::relax::PrimStructInfoNode::_type_key = "relax.PrimStructInfo"
staticconstexpr

◆ dtype

DataType tvm::relax::PrimStructInfoNode::dtype

Underlying data type of the primitive value.

◆ value

Optional<PrimExpr> tvm::relax::PrimStructInfoNode::value

Underlying primitive value, if known.


The documentation for this class was generated from the following file: