|
tvm
|
Pattern select expression. More...
#include <pattern_match.h>
Public Member Functions | |
| PSelectExpr (const TCond &condition, const TA &true_value, const TB &false_value) | |
| void | InitMatch_ () const |
| bool | Match_ (const ffi::ObjectRef &node) const |
| PrimExpr | Eval () const |
Public Member Functions inherited from tvm::Pattern< PSelectExpr< TCond, TA, TB > > | |
| 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 PSelectExpr< TCond, TA, TB > & | derived () const |
Additional Inherited Members | |
Public Types inherited from tvm::Pattern< PSelectExpr< TCond, TA, TB > > | |
| using | Nested = PSelectExpr< TCond, TA, TB > |
| Nested storage type in the expression. | |
Pattern select expression.
| TCond | The pattern type of the condition. |
| TA | The pattern type of the true operand. |
| TB | The pattern type of the false operand. |
|
inline |
|
inline |
|
inline |
|
inline |