Class TupleGetItem#

Inheritance Relationships#

Base Type#

Class Documentation#

class TupleGetItem : public tvm::Expr#

Managed reference to TupleGetItemObj.

Public Types

using ContainerType = TupleGetItemObj#

Public Functions

TupleGetItem(Expr tuple, int index, Location loc = UnknownLoc())#

Construct a tuple field projection.

Parameters:
  • tuple – The tuple to get an element from.

  • index – The field index.

  • loc – The source location of the expression.

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