Searched refs:PatternEngine (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/ |
D | optimizer.h | 50 PatternEngine pattern_engine_; 58 child_pattern_engine_(PatternEngine(std::make_shared<Visitor>())), in PatternProcessPass() 67 PatternEngine child_pattern_engine_;
|
D | pattern_engine.cc | 142 bool PatternEngine::ToVector(const VectorRef &pattern_ref, const VectorRef &expr_ref, VectorRef *co… in ToVector() 153 bool PatternEngine::ToVector(const BaseRef &pattern_ref, const BaseRef &expr_ref, VectorRef *const … in ToVector() 208 EquivPtr PatternEngine::AlignSVar(const VectorRef &values_pattern, const VectorRef &values_expr, in AlignSVar() 249 EquivPtr PatternEngine::Match(const BaseRef &pattern, const BaseRef &expr, const PrimitiveVarMap &p… in Match() 284 if (!PatternEngine::CNodeTypeEqual(pattern_ref, expr_ref)) { in Match() 304 bool PatternEngine::CNodeTypeEqual(const BaseRef &a, const BaseRef &b) { in CNodeTypeEqual()
|
D | pattern_engine.h | 166 class PatternEngine { 168 explicit PatternEngine(const std::shared_ptr<Visitor> &visitor) : visitor_(visitor) {} in PatternEngine() function 169 ~PatternEngine() = default;
|
D | optimizer.cc | 33 pattern_engine_(PatternEngine(std::make_shared<Visitor>())), in PatternProcessPass()
|
/third_party/mindspore/mindspore/lite/tools/optimizer/common/ |
D | multiple_pattern_process_pass.h | 42 PatternEngine pattern_engine_;
|
D | multiple_pattern_process_pass.cc | 22 …: NodePass(name), multigraph_(multigraph), pattern_engine_(PatternEngine(std::make_shared<Visitor>… in MultiplePatternProcessPass()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/common/ |
D | pattern_engine_test.cc | 41 PatternEngine TU;
|
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/ |
D | tflite_lstm_cell_fusion.cc | 318 PatternEngine pattern_engine(visitor); in MatchGraph()
|