Class TupleType#

Inheritance Relationships#

Base Type#

Class Documentation#

class TupleType : public tvm::Type#

Managed reference to TupleTypeObj.

See also

TupleTypeObj.

Public Types

using ContainerType = TupleTypeObj#

Public Functions

explicit TupleType(ffi::Array<Type> fields, Location loc = UnknownLoc())#

Constructor.

Parameters:
  • fields – Fields in the tuple.

  • loc – The loc of the type.

inline explicit TupleType(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#

Public Static Functions

static TupleType Empty()#

Create an empty tuple type that constains nothing.

Returns:

A empty tuple type.