Searched refs:PythonPass (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass.h | 30 class PythonPass; variable 31 using PythonPassPtr = std::shared_ptr<PythonPass>; 35 class PythonPass { 37 …explicit PythonPass(const std::string &name, const PatternPtr &src, const PatternPtr &dst, bool ru… 39 ~PythonPass() = default; 54 using PythonPassPtr = std::shared_ptr<PythonPass>;
|
D | py_pass_manager.cc | 64 PythonPassPtr new_pass = std::make_shared<PythonPass>(pass_name, pattern, target, run_only_once); in Register() 89 auto new_pass = std::make_shared<PythonPass>(pass_name, nullptr, parameter, true); in GenNewParameter()
|
D | py_pass.cc | 245 AnfNodePtr PythonPass::Run(const FuncGraphPtr &func_graph, const FuncGraphPtr &top_graph, const Anf… in Run() 258 bool PythonPass::Run(const FuncGraphPtr &func_graph, const MatchResultPtr &res) { in Run()
|