tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::GlobalVar Class Reference

Managed reference to GlobalVarNode. More...

#include <expr.h>

Inheritance diagram for tvm::GlobalVar:
Collaboration diagram for tvm::GlobalVar:

Public Member Functions

TVM_TIRX_DLL GlobalVar (ffi::String name_hint, Location loc=UnknownLoc())
 
 GlobalVar (ffi::ObjectPtr< GlobalVarNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (GlobalVar, Expr, GlobalVarNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (GlobalVarNode)
 
- Public Member Functions inherited from tvm::Expr
bool operator== (const Expr &other) const =delete
 
bool operator!= (const Expr &other) const =delete
 
bool operator< (const Expr &other) const =delete
 
 Expr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Expr, ffi::ObjectRef, ExprNode)
 

Detailed Description

Managed reference to GlobalVarNode.

See also
GlobalVarNode

Constructor & Destructor Documentation

◆ GlobalVar() [1/2]

TVM_TIRX_DLL tvm::GlobalVar::GlobalVar ( ffi::String  name_hint,
Location  loc = UnknownLoc() 
)
explicit

◆ GlobalVar() [2/2]

tvm::GlobalVar::GlobalVar ( ffi::ObjectPtr< GlobalVarNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::GlobalVar::TVM_DEFINE_OBJECT_REF_COW_METHOD ( GlobalVarNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::GlobalVar::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( GlobalVar  ,
Expr  ,
GlobalVarNode   
)

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