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

Base node of all non-primitive expressions. More...

#include <expr.h>

Inheritance diagram for tvm::RelaxExprNode:
Collaboration diagram for tvm::RelaxExprNode:

Public Member Functions

 TVM_DECLARE_BASE_OBJECT_INFO (RelaxExprNode, BaseExprNode)
 
- Public Member Functions inherited from tvm::BaseExprNode
 TVM_DECLARE_BASE_OBJECT_INFO (BaseExprNode, Object)
 

Static Public Member Functions

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

Public Attributes

Optional< ObjectRef > struct_info_ = Optional<ObjectRef>()
 Stores the result of structure information of the expression that encapsulate both static shape and runtime information such as shape. More...
 
- Public Attributes inherited from tvm::BaseExprNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr const char * _type_key = "ir.RelaxExpr"
 
static constexpr const uint32_t _type_child_slots = 22
 
- Static Public Attributes inherited from tvm::BaseExprNode
static constexpr const char * _type_key = "ir.BaseExpr"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Detailed Description

Base node of all non-primitive expressions.

RelaxExpr supports tensor and functions as first class citizen. The life-cycle of the corresponding objects are implicitly managed by the language.

See also
RelaxExpr

Member Function Documentation

◆ RegisterReflection()

static void tvm::RelaxExprNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_BASE_OBJECT_INFO()

tvm::RelaxExprNode::TVM_DECLARE_BASE_OBJECT_INFO ( RelaxExprNode  ,
BaseExprNode   
)

Member Data Documentation

◆ _type_child_slots

constexpr const uint32_t tvm::RelaxExprNode::_type_child_slots = 22
staticconstexpr

◆ _type_key

constexpr const char* tvm::RelaxExprNode::_type_key = "ir.RelaxExpr"
staticconstexpr

◆ struct_info_

Optional<ObjectRef> tvm::RelaxExprNode::struct_info_ = Optional<ObjectRef>()
mutable

Stores the result of structure information of the expression that encapsulate both static shape and runtime information such as shape.


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