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

Managed reference to TupleNode. More...

#include <expr.h>

Inheritance diagram for tvm::Tuple:
Collaboration diagram for tvm::Tuple:

Public Member Functions

TVM_TIRX_DLL Tuple (ffi::Array< Expr > fields, Location loc=UnknownLoc())
 Construct a tuple from its fields.
 
 Tuple (ffi::ObjectPtr< TupleNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Tuple, Expr, TupleNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (TupleNode)
 
- 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 TupleNode.

Constructor & Destructor Documentation

◆ Tuple() [1/2]

TVM_TIRX_DLL tvm::Tuple::Tuple ( ffi::Array< Expr >  fields,
Location  loc = UnknownLoc() 
)
explicit

Construct a tuple from its fields.

Parameters
fieldsThe fields of the tuple.
locThe source location of the expression.

◆ Tuple() [2/2]

tvm::Tuple::Tuple ( ffi::ObjectPtr< TupleNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::Tuple::TVM_DEFINE_OBJECT_REF_COW_METHOD ( TupleNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::Tuple::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( Tuple  ,
Expr  ,
TupleNode   
)

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