Managed reference to pattern sequences.
More...
#include <dataflow_pattern.h>
Managed reference to pattern sequences.
- See also
- PatternSeqNode
◆ PatternSeq() [1/2]
tvm::relax::PatternSeq::PatternSeq |
( |
DFPattern |
init_pattern | ) |
|
|
explicit |
◆ PatternSeq() [2/2]
tvm::relax::PatternSeq::PatternSeq |
( |
tvm::Array< DFPattern > |
patterns, |
|
|
bool |
only_used_by = false |
|
) |
| |
|
explicit |
◆ dup()
Syntatic Sugar for duplicating the current pattern sequence.
◆ OnlyUsedBy()
◆ TVM_DEFINE_OBJECT_REF_METHODS()
◆ UsedBy()
◆ OnlyUsedBy
Create only-used-by relationship between lhs[-1] and rhs[0], with [*lhs, *rhs] returned.
- Parameters
-
lhs | Left hand side of the used-by relationship. |
rhs | Right hand side of the used-by relationship. |
index | lhs[-1] is used as the index'th argument of rhs[0]. |
- Returns
- PatternSeq The concatenated sequence of [*lhs, *rhs].
◆ UsedBy
Create used-by relationship between lhs[-1] and rhs[0], with [*lhs, *rhs] returned.
- Parameters
-
lhs | Left hand side of the used-by relationship. |
rhs | Right hand side of the used-by relationship. |
index | lhs[-1] is used as the index'th argument of rhs[0]. |
- Returns
- PatternSeq The concatenated sequence of [*lhs, *rhs].
The documentation for this class was generated from the following file: