Home
last modified time | relevance | path

Searched refs:PatternEngine (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Doptimizer.h50 PatternEngine pattern_engine_;
58 child_pattern_engine_(PatternEngine(std::make_shared<Visitor>())), in PatternProcessPass()
67 PatternEngine child_pattern_engine_;
Dpattern_engine.cc142 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()
Dpattern_engine.h166 class PatternEngine {
168 explicit PatternEngine(const std::shared_ptr<Visitor> &visitor) : visitor_(visitor) {} in PatternEngine() function
169 ~PatternEngine() = default;
Doptimizer.cc33 pattern_engine_(PatternEngine(std::make_shared<Visitor>())), in PatternProcessPass()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dmultiple_pattern_process_pass.h42 PatternEngine pattern_engine_;
Dmultiple_pattern_process_pass.cc22 …: NodePass(name), multigraph_(multigraph), pattern_engine_(PatternEngine(std::make_shared<Visitor>… in MultiplePatternProcessPass()
/third_party/mindspore/tests/ut/cpp/pre_activate/common/
Dpattern_engine_test.cc41 PatternEngine TU;
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc318 PatternEngine pattern_engine(visitor); in MatchGraph()