Pattern cast expression.
More...
#include <pattern_match.h>
|
| | PCastExpr (const TA &value, const DType &dtype) |
| |
| void | InitMatch_ () const |
| |
| bool | Match_ (const ffi::ObjectRef &node) const |
| |
| PrimExpr | Eval () const |
| |
| 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 |
| |
|
| using | Nested = PCastExpr< DType, TA > |
| | Nested storage type in the expression.
|
| |
template<typename DType, typename TA>
class tvm::PCastExpr< DType, TA >
Pattern cast expression.
- Template Parameters
-
| DType | The Pattern type of dtype. |
| TA | The pattern type of the first operand. |
◆ PCastExpr()
template<typename DType , typename TA >
| tvm::PCastExpr< DType, TA >::PCastExpr |
( |
const TA & |
value, |
|
|
const DType & |
dtype |
|
) |
| |
|
inline |
◆ Eval()
template<typename DType , typename TA >
◆ InitMatch_()
template<typename DType , typename TA >
◆ 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: