Pattern variable container for data type with lanes.
More...
#include <pattern_match.h>
|
| | PVecDataType (DLDataType elem_dtype) |
| | construct vector dtype placeholder with element type check
|
| |
| bool | Match_ (DLDataType dtype) const |
| |
| void | InitMatch_ () const |
| |
| bool | Match_ (const DLDataType &value) const |
| |
| bool | Match_ (const NodeRefType &value) const |
| |
| DLDataType | Eval () const |
| |
| template<typename NodeType > |
| bool | Match (const NodeType &value) const |
| | Check if value matches the current pattern.
|
| |
| template<typename NodeType , typename Condition > |
| bool | Match (const NodeType &value, Condition cond) const |
| | Check if value matches the current pattern.
|
| |
| const Derived & | derived () const |
| |
Pattern variable container for data type with lanes.
◆ PVecDataType()
| tvm::PVecDataType::PVecDataType |
( |
DLDataType |
elem_dtype | ) |
|
|
inlineexplicit |
construct vector dtype placeholder with element type check
◆ Match_()
| bool tvm::PVecDataType::Match_ |
( |
DLDataType |
dtype | ) |
const |
|
inline |
◆ elem_dtype_
| DLDataType tvm::PVecDataType::elem_dtype_ |
|
protected |
The documentation for this class was generated from the following file: