tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::PCastExpr< DType, TA > Class Template Reference

Pattern cast expression. More...

#include <pattern_match.h>

Inheritance diagram for tvm::PCastExpr< DType, TA >:
Collaboration diagram for tvm::PCastExpr< DType, TA >:

Public Member Functions

 PCastExpr (const TA &value, const DType &dtype)
 
void InitMatch_ () const
 
bool Match_ (const ffi::ObjectRef &node) const
 
PrimExpr Eval () const
 
- Public Member Functions inherited from tvm::Pattern< PCastExpr< DType, TA > >
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 PCastExpr< DType, TA > & derived () const
 

Additional Inherited Members

- Public Types inherited from tvm::Pattern< PCastExpr< DType, TA > >
using Nested = PCastExpr< DType, TA >
 Nested storage type in the expression.
 

Detailed Description

template<typename DType, typename TA>
class tvm::PCastExpr< DType, TA >

Pattern cast expression.

Template Parameters
DTypeThe Pattern type of dtype.
TAThe pattern type of the first operand.

Constructor & Destructor Documentation

◆ PCastExpr()

template<typename DType , typename TA >
tvm::PCastExpr< DType, TA >::PCastExpr ( const TA &  value,
const DType &  dtype 
)
inline

Member Function Documentation

◆ Eval()

template<typename DType , typename TA >
PrimExpr tvm::PCastExpr< DType, TA >::Eval ( ) const
inline

◆ InitMatch_()

template<typename DType , typename TA >
void tvm::PCastExpr< DType, TA >::InitMatch_ ( ) const
inline

◆ Match_()

template<typename DType , typename TA >
bool tvm::PCastExpr< DType, TA >::Match_ ( const ffi::ObjectRef &  node) const
inline

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