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

The unique identifier of variables. More...

#include <expr.h>

Inheritance diagram for tvm::relax::IdNode:
Collaboration diagram for tvm::relax::IdNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (IdNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

String name_hint
 The name of the variable, this only acts as a hint to the user, and is not used for equality. More...
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar
 
static constexpr const char * _type_key = "relax.Id"
 

Detailed Description

The unique identifier of variables.

Id is like name to the variables, except that id is unique for each Var.

Note
Do not create Id directly, they are created in Var.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::relax::IdNode::TVM_DECLARE_FINAL_OBJECT_INFO ( IdNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::relax::IdNode::_type_key = "relax.Id"
staticconstexpr

◆ _type_s_eq_hash_kind

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

◆ name_hint

String tvm::relax::IdNode::name_hint

The name of the variable, this only acts as a hint to the user, and is not used for equality.


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