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

Get the index-th field out of a tuple. More...

#include <expr.h>

Inheritance diagram for tvm::TupleGetItemNode:
Collaboration diagram for tvm::TupleGetItemNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.TupleGetItem", TupleGetItemNode, ExprNode)
 
- Public Member Functions inherited from tvm::ExprNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::ExprNode
static void RegisterReflection ()
 

Public Attributes

Expr tuple
 The tuple expression.
 
int index
 The field index.
 
- Public Attributes inherited from tvm::ExprNode
Span span
 Span that points to the original source code. Reserved debug information.
 
Type ty = Type::Missing()
 The deduced or annotated type of the expression.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::ExprNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Detailed Description

Get the index-th field out of a tuple.

Member Function Documentation

◆ RegisterReflection()

static void tvm::TupleGetItemNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::TupleGetItemNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.TupleGetItem"  ,
TupleGetItemNode  ,
ExprNode   
)

Member Data Documentation

◆ index

int tvm::TupleGetItemNode::index

The field index.

◆ tuple

Expr tvm::TupleGetItemNode::tuple

The tuple expression.


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