tvm
Public Member Functions | List of all members
tvm::relax::Var Class Reference

#include <expr.h>

Inheritance diagram for tvm::relax::Var:
Collaboration diagram for tvm::relax::Var:

Public Member Functions

 Var (String name_hint, Optional< StructInfo > struct_info_annotation, Span span=Span())
 
 Var (Id vid, Optional< StructInfo > struct_info_annotation, Span span=Span())
 
 TVM_DEFINE_OBJECT_REF_METHODS (Var, LeafExpr, VarNode)
 
VarNodeCopyOnWrite ()
 
- Public Member Functions inherited from tvm::relax::LeafExpr
 TVM_DEFINE_OBJECT_REF_METHODS (LeafExpr, Expr, LeafExprNode)
 
- Public Member Functions inherited from tvm::RelaxExpr
 TVM_DEFINE_OBJECT_REF_METHODS (RelaxExpr, BaseExpr, RelaxExprNode)
 
- Public Member Functions inherited from tvm::BaseExpr
 TVM_DEFINE_OBJECT_REF_METHODS (BaseExpr, ObjectRef, BaseExprNode)
 

Constructor & Destructor Documentation

◆ Var() [1/2]

tvm::relax::Var::Var ( String  name_hint,
Optional< StructInfo struct_info_annotation,
Span  span = Span() 
)
inlineexplicit

◆ Var() [2/2]

tvm::relax::Var::Var ( Id  vid,
Optional< StructInfo struct_info_annotation,
Span  span = Span() 
)
explicit

Member Function Documentation

◆ CopyOnWrite()

VarNode* tvm::relax::Var::CopyOnWrite ( )

◆ TVM_DEFINE_OBJECT_REF_METHODS()

tvm::relax::Var::TVM_DEFINE_OBJECT_REF_METHODS ( Var  ,
LeafExpr  ,
VarNode   
)

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