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

StructInfo of shape value. More...

#include <struct_info.h>

Inheritance diagram for tvm::relax::ShapeStructInfoNode:
Collaboration diagram for tvm::relax::ShapeStructInfoNode:

Public Member Functions

bool IsUnknownNdim () const
 
 TVM_DECLARE_FINAL_OBJECT_INFO (ShapeStructInfoNode, StructInfoNode)
 
- Public Member Functions inherited from tvm::relax::StructInfoNode
 TVM_DECLARE_BASE_OBJECT_INFO (StructInfoNode, Object)
 

Static Public Member Functions

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

Public Attributes

Optional< Array< PrimExpr > > values
 optionally stores the symbolic value patterns of the shape More...
 
int ndim
 The number of dimension of the shape, can be unknown. More...
 
- Public Attributes inherited from tvm::relax::StructInfoNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr const char * _type_key = "relax.ShapeStructInfo"
 
- Static Public Attributes inherited from tvm::relax::StructInfoNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const char * _type_key = "ir.StructInfo"
 
static constexpr const uint32_t _type_child_slots = 7
 

Detailed Description

StructInfo of shape value.

Member Function Documentation

◆ IsUnknownNdim()

bool tvm::relax::ShapeStructInfoNode::IsUnknownNdim ( ) const
inline
Returns
Whether the struct info contains unknown ndim.

◆ RegisterReflection()

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

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::relax::ShapeStructInfoNode::TVM_DECLARE_FINAL_OBJECT_INFO ( ShapeStructInfoNode  ,
StructInfoNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::relax::ShapeStructInfoNode::_type_key = "relax.ShapeStructInfo"
staticconstexpr

◆ ndim

int tvm::relax::ShapeStructInfoNode::ndim

The number of dimension of the shape, can be unknown.

See also
kUnknownNDim

◆ values

Optional<Array<PrimExpr> > tvm::relax::ShapeStructInfoNode::values

optionally stores the symbolic value patterns of the shape


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