tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::relax::SeqExprNode Class Reference

A sequence of blocks followed by an expression. More...

#include <expr.h>

Inheritance diagram for tvm::relax::SeqExprNode:
Collaboration diagram for tvm::relax::SeqExprNode:

Public Member Functions

bool SEqual (const SeqExprNode *other, ffi::TypedFunction< bool(AnyView, AnyView, bool, AnyView)> equal) const
 
int64_t SHash (int64_t init_hash, ffi::TypedFunction< int64_t(AnyView, int64_t, bool)> hash) const
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.expr.SeqExpr", SeqExprNode, 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

ffi::Array< BindingBlockblocks
 
Expr body
 
- Public Attributes inherited from tvm::ExprNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 
Type ty = Type::Missing()
 The deduced or annotated type of the expression. More...
 

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

A sequence of blocks followed by an expression.

The order of blocks enforces scoping and ordering.

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::SeqExprNode::RegisterReflection ( )
inlinestatic

◆ SEqual()

bool tvm::relax::SeqExprNode::SEqual ( const SeqExprNode other,
ffi::TypedFunction< bool(AnyView, AnyView, bool, AnyView)>  equal 
) const
inline

◆ SHash()

int64_t tvm::relax::SeqExprNode::SHash ( int64_t  init_hash,
ffi::TypedFunction< int64_t(AnyView, int64_t, bool)>  hash 
) const
inline

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::SeqExprNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.expr.SeqExpr"  ,
SeqExprNode  ,
ExprNode   
)

Member Data Documentation

◆ blocks

ffi::Array<BindingBlock> tvm::relax::SeqExprNode::blocks

◆ body

Expr tvm::relax::SeqExprNode::body

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