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

A shape expression which allows users to construct a shape containing PrimExpr. More...

#include <expr.h>

Inheritance diagram for tvm::relax::ShapeExprNode:
Collaboration diagram for tvm::relax::ShapeExprNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.expr.ShapeExpr", ShapeExprNode, 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< PrimExprvalues
 
- 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 shape expression which allows users to construct a shape containing PrimExpr.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::ShapeExprNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.expr.ShapeExpr"  ,
ShapeExprNode  ,
ExprNode   
)

Member Data Documentation

◆ values

ffi::Array<PrimExpr> tvm::relax::ShapeExprNode::values

The values of the shape expression.


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