Searched refs:DfGraphManager (Results 1 – 14 of 14) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/ |
D | df_graph_manager.cc | 35 DfGraphManager::DfGraphManager() { in DfGraphManager() function in mindspore::transform::DfGraphManager 41 DfGraphManager::~DfGraphManager() { in ~DfGraphManager() 51 DfGraphManager &DfGraphManager::GetInstance() { in GetInstance() 52 static DfGraphManager instance; in GetInstance() 56 int DfGraphManager::GenerateId() { in GenerateId() 65 Status DfGraphManager::AddGraph(const std::string &name, const DfGraphPtr &graph_ptr, const OptionM… in AddGraph() 88 std::vector<DfGraphWrapperPtr> DfGraphManager::GetAllGraphs() { in GetAllGraphs() 101 std::set<string> DfGraphManager::GetSavedGraphs() { return saved_graphs_; } in GetSavedGraphs() 103 void DfGraphManager::AddSavedGraphs(const std::string &id) { saved_graphs_.insert(id); } in AddSavedGraphs() 105 DfGraphWrapperPtr DfGraphManager::GetGraphByName(const std::string &name) { in GetGraphByName() [all …]
|
D | df_graph_manager.h | 49 class DfGraphManager { 51 ~DfGraphManager(); 54 static DfGraphManager &GetInstance(); 60 DfGraphManager(const DfGraphManager &) = delete; 72 DfGraphManager();
|
D | graph_builder.cc | 49 ret = DfGraphManager::GetInstance().AddGraph(graph_name, dataset_graph); in BuildDatasetGraph()
|
D | graph_runner.h | 58 DfGraphManager &graph_manager_;
|
D | graph_runner.cc | 61 : options_(options), graph_manager_(DfGraphManager::GetInstance()) { in GraphRunner()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/ |
D | model_converter.cc | 46 std::shared_ptr<ge::Session> sess = transform::DfGraphManager::GetInstance().GetGeSession(); in CreateSessionAndGraphRunner() 56 transform::DfGraphManager::GetInstance().SetGeSession(sess); in CreateSessionAndGraphRunner() 67 transform::DfGraphManager::GetInstance().SetGraphRunner(graph_runner); in CreateSessionAndGraphRunner() 85 transform::DfGraphManager::GetInstance().ClearGraph(); in ConvertFuncGraphToAIR() 89 …(void)transform::DfGraphManager::GetInstance().AddGraph(anf_graph->ToString(), converter.GetComput… in ConvertFuncGraphToAIR() 90 (void)transform::DfGraphManager::GetInstance().AddGraph(init_graph, converter.GetInitGraph()); in ConvertFuncGraphToAIR() 91 …(void)transform::DfGraphManager::GetInstance().AddGraph(BROADCAST_GRAPH_NAME, converter.GetBroadca… in ConvertFuncGraphToAIR() 94 …transform::DfGraphManager::GetInstance().AddGraph(checkpoint_name, converter.GetSaveCheckpointGrap… in ConvertFuncGraphToAIR() 96 transform::DfGraphManager::GetInstance().SetAnfGraph(checkpoint_name, anf_graph); in ConvertFuncGraphToAIR() 106 auto wrap_ptr = transform::DfGraphManager::GetInstance().GetGraphByName(anf_graph->ToString()); in ConvertFuncGraphToAIR()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | pipeline_ge.cc | 44 using mindspore::transform::DfGraphManager; 55 auto graph_runner = DfGraphManager::GetInstance().GetGraphRunner(); in DoExecNonInputGraph() 77 std::shared_ptr<ge::Session> sess = DfGraphManager::GetInstance().GetGeSession(); in CreateSessionAndGraphRunner() 95 DfGraphManager::GetInstance().SetGeSession(sess); in CreateSessionAndGraphRunner() 106 DfGraphManager::GetInstance().SetGraphRunner(graph_runner); in CreateSessionAndGraphRunner() 212 DfGraphManager::GetInstance().ClearGraph(); in AddDFGraph() 226 …(void)DfGraphManager::GetInstance().AddGraph(phase, converter.GetComputeGraph(), {{"ge.exec.variab… in AddDFGraph() 228 (void)DfGraphManager::GetInstance().AddGraph(phase, converter.GetComputeGraph()); in AddDFGraph() 230 (void)DfGraphManager::GetInstance().AddGraph(init_graph, converter.GetInitGraph()); in AddDFGraph() 231 (void)DfGraphManager::GetInstance().AddGraph(BROADCAST_GRAPH_NAME, converter.GetBroadcastGraph()); in AddDFGraph() [all …]
|
D | pipeline.cc | 502 transform::DfGraphManager::GetInstance().DeleteGraphRunner(); in DelNetRes() 503 transform::DfGraphManager::GetInstance().EraseAnfGraph(); in DelNetRes() 504 transform::DfGraphManager::GetInstance().DeleteGeSession(); in DelNetRes() 1463 transform::DfGraphManager::GetInstance().ClearGraph(); in ClearResAtexit()
|
/third_party/mindspore/tests/ut/cpp/transform/ |
D | graph_runner_test.cc | 137 DfGraphManager &graph_manager = DfGraphManager::GetInstance(); in TEST_F() 176 DfGraphManager &graph_manager = DfGraphManager::GetInstance(); in TEST_F() 214 DfGraphManager &graph_manager = DfGraphManager::GetInstance(); in TEST_F()
|
D | graph_manager_test.cc | 42 DfGraphManager& graph_manager = DfGraphManager::GetInstance(); in TEST_F()
|
D | graph_builder_test.cc | 50 DfGraphManager::GetInstance().ClearGraph(); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/utils/context/ |
D | context_extends.cc | 41 using mindspore::transform::DfGraphManager; 330 DfGraphManager::GetInstance().DeleteGraphRunner(); in FinalizeGe() 331 DfGraphManager::GetInstance().DeleteGeSession(); in FinalizeGe()
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | callbacks_ge.cc | 72 FuncGraphPtr anf_graph = transform::DfGraphManager::GetInstance().GetAnfGraph(graph_id); in GetMeTensorTransformed()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_execute_ge.cc | 214 …transform::DfGraphManager::GetInstance().AddGraph(SINGLE_OP_GRAPH, std::shared_ptr<transform::DfGr… in ConvertAttributes()
|