tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::PCallExpr< Op, TArgs > Class Template Reference

Pattern CallExpr expression. More...

#include <pattern_match.h>

Inheritance diagram for tvm::PCallExpr< Op, TArgs >:
Collaboration diagram for tvm::PCallExpr< Op, TArgs >:

Public Member Functions

 PCallExpr (const TArgs &... args)
 
void InitMatch_ () const
 
bool Match_ (const ffi::ObjectRef &node) const
 
PrimExpr Eval () const
 
- Public Member Functions inherited from tvm::Pattern< PCallExpr< Op, TArgs... > >
bool Match (const NodeType &value) const
 Check if value matches the current pattern.
 
bool Match (const NodeType &value, Condition cond) const
 Check if value matches the current pattern.
 
const PCallExpr< Op, TArgs... > & derived () const
 

Additional Inherited Members

- Public Types inherited from tvm::Pattern< PCallExpr< Op, TArgs... > >
using Nested = PCallExpr< Op, TArgs... >
 Nested storage type in the expression.
 

Detailed Description

template<typename Op, typename... TArgs>
class tvm::PCallExpr< Op, TArgs >

Pattern CallExpr expression.

Template Parameters
OpThe operator functor class.
TArgsThe arguments.
Note
Op functor contains the name of the function and the implementation of Eval.

Constructor & Destructor Documentation

◆ PCallExpr()

template<typename Op , typename... TArgs>
tvm::PCallExpr< Op, TArgs >::PCallExpr ( const TArgs &...  args)
inlineexplicit

Member Function Documentation

◆ Eval()

template<typename Op , typename... TArgs>
PrimExpr tvm::PCallExpr< Op, TArgs >::Eval ( ) const
inline

◆ InitMatch_()

template<typename Op , typename... TArgs>
void tvm::PCallExpr< Op, TArgs >::InitMatch_ ( ) const
inline

◆ Match_()

template<typename Op , typename... TArgs>
bool tvm::PCallExpr< Op, TArgs >::Match_ ( const ffi::ObjectRef &  node) const
inline

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