|
tvm
|
Get the index-th field out of a tuple. More...
#include <expr.h>
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 |
Get the index-th field out of a tuple.
| tvm::TupleGetItemNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "ir.TupleGetItem" | , |
| TupleGetItemNode | , | ||
| ExprNode | |||
| ) |
| int tvm::TupleGetItemNode::index |
The field index.
| Expr tvm::TupleGetItemNode::tuple |
The tuple expression.