Class Tuple#

Inheritance Relationships#

Base Type#

Class Documentation#

class Tuple : public tvm::Expr#

Managed reference to TupleObj.

Public Types

using ContainerType = TupleObj#

Public Functions

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

Construct a tuple from its fields.

Parameters:
  • fields – The fields of the tuple.

  • loc – The source location of the expression.

inline explicit Tuple(ffi::ObjectPtr<TupleObj> node)#
inline explicit Tuple(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#
inline TupleObj *CopyOnWrite()#