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

A pattern that asserting a root pattern has a certain shape. More...

#include <dataflow_pattern.h>

Inheritance diagram for tvm::relax::ShapePatternObj:
Collaboration diagram for tvm::relax::ShapePatternObj:

Public Member Functions

 ShapePatternObj (DFPattern pattern)
 
 ShapePatternObj (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.dpl.ShapePattern", ShapePatternObj, DFPatternObj)
 
- Public Member Functions inherited from tvm::relax::DFPatternObj
 TVM_FFI_DECLARE_OBJECT_INFO ("relax.dpl.DFPattern", DFPatternObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

DFPattern pattern
 
ffi::Array< PrimExpr > shape
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::relax::DFPatternObj
static constexpr const uint32_t _type_child_slots = 21
 

Detailed Description

A pattern that asserting a root pattern has a certain shape.

See also
ShapePattern

Constructor & Destructor Documentation

◆ ShapePatternObj() [1/2]

tvm::relax::ShapePatternObj::ShapePatternObj ( DFPattern  pattern)
inlineexplicit

◆ ShapePatternObj() [2/2]

tvm::relax::ShapePatternObj::ShapePatternObj ( ffi::UnsafeInit  )
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::ShapePatternObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.dpl.ShapePattern"  ,
ShapePatternObj  ,
DFPatternObj   
)

Member Data Documentation

◆ pattern

DFPattern tvm::relax::ShapePatternObj::pattern

The root pattern to match

◆ shape

ffi::Array<PrimExpr> tvm::relax::ShapePatternObj::shape

The shape to match


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