A simple visitor wrapper around DFPatternFunctor. Recursively visit the content.
More...
#include <dataflow_pattern_functor.h>
A simple visitor wrapper around DFPatternFunctor. Recursively visit the content.
DFPatternVisitor treats the Pattern as dataflow graph,and only visit each Expr node once.
◆ VisitDFPattern()
void tvm::relay::DFPatternVisitor::VisitDFPattern |
( |
const DFPattern & |
pattern | ) |
|
|
override |
◆ VisitDFPattern_() [1/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const AltPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [2/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const AttrPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [3/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const CallPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [4/16]
◆ VisitDFPattern_() [5/16]
◆ VisitDFPattern_() [6/16]
◆ VisitDFPattern_() [7/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const ExprPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [8/16]
◆ VisitDFPattern_() [9/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const IfPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [10/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const LetPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [11/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const ShapePatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [12/16]
◆ VisitDFPattern_() [13/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const TuplePatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [14/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const TypePatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [15/16]
void tvm::relay::DFPatternVisitor::VisitDFPattern_ |
( |
const VarPatternNode * |
op | ) |
|
|
override |
◆ VisitDFPattern_() [16/16]
◆ visited_
std::unordered_set<const Object*> tvm::relay::DFPatternVisitor::visited_ |
|
protected |
The documentation for this class was generated from the following file: