Constraint of a DFPattern edge (producer -> consumer) in graph-level matching.
More...
#include <dataflow_pattern.h>
Constraint of a DFPattern edge (producer -> consumer) in graph-level matching.
◆ Type
Constraint types of the edge.
| Enumerator |
|---|
| kUsedBy | producer ^ consumer
|
| kOnlyUsedBy | producer >> consumer
|
◆ PairCons()
| tvm::relax::PairCons::PairCons |
( |
Type |
t, |
|
|
int |
index = -1 |
|
) |
| |
|
inlineexplicit |
Construct a new PairCons object.
- Parameters
-
| t | The constraint type |
| index | The producer is called as the index'th argument of the consumer function. |
◆ operator==()
| bool tvm::relax::PairCons::operator== |
( |
const PairCons & |
other | ) |
const |
|
inline |
◆ index
| int tvm::relax::PairCons::index = -1 |
The argument index of the producer in the consumer caller site
◆ type
The documentation for this struct was generated from the following file: