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

The variable class for all Relax bindings. More...

#include <expr.h>

Inheritance diagram for tvm::relax::VarNode:
Collaboration diagram for tvm::relax::VarNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO ("relax.expr.Var", VarNode, ExprNode)
 
- Public Member Functions inherited from tvm::ExprNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprNode, ffi::Object)
 

Static Public Member Functions

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

Public Attributes

ffi::String name_hint
 The hint to the variable name. More...
 
- Public Attributes inherited from tvm::ExprNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 
Type ty = Type::Missing()
 The deduced or annotated type of the expression. More...
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar
 
static constexpr const uint32_t _type_child_slots = 1
 
- Static Public Attributes inherited from tvm::ExprNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Detailed Description

The variable class for all Relax bindings.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO()

tvm::relax::VarNode::TVM_FFI_DECLARE_OBJECT_INFO ( "relax.expr.Var"  ,
VarNode  ,
ExprNode   
)

Member Data Documentation

◆ _type_child_slots

constexpr const uint32_t tvm::relax::VarNode::_type_child_slots = 1
staticconstexpr

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::relax::VarNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar
staticconstexpr

◆ name_hint

ffi::String tvm::relax::VarNode::name_hint

The hint to the variable name.

Note
Each variable is uniquely identified by its address.

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