Home
last modified time | relevance | path

Searched refs:DfGraphManager (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Ddf_graph_manager.cc35 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 …]
Ddf_graph_manager.h49 class DfGraphManager {
51 ~DfGraphManager();
54 static DfGraphManager &GetInstance();
60 DfGraphManager(const DfGraphManager &) = delete;
72 DfGraphManager();
Dgraph_builder.cc49 ret = DfGraphManager::GetInstance().AddGraph(graph_name, dataset_graph); in BuildDatasetGraph()
Dgraph_runner.h58 DfGraphManager &graph_manager_;
Dgraph_runner.cc61 : options_(options), graph_manager_(DfGraphManager::GetInstance()) { in GraphRunner()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/
Dmodel_converter.cc46 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/
Dpipeline_ge.cc44 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 …]
Dpipeline.cc502 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/
Dgraph_runner_test.cc137 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()
Dgraph_manager_test.cc42 DfGraphManager& graph_manager = DfGraphManager::GetInstance(); in TEST_F()
Dgraph_builder_test.cc50 DfGraphManager::GetInstance().ClearGraph(); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/utils/context/
Dcontext_extends.cc41 using mindspore::transform::DfGraphManager;
330 DfGraphManager::GetInstance().DeleteGraphRunner(); in FinalizeGe()
331 DfGraphManager::GetInstance().DeleteGeSession(); in FinalizeGe()
/third_party/mindspore/mindspore/ccsrc/utils/
Dcallbacks_ge.cc72 FuncGraphPtr anf_graph = transform::DfGraphManager::GetInstance().GetAnfGraph(graph_id); in GetMeTensorTransformed()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute_ge.cc214 …transform::DfGraphManager::GetInstance().AddGraph(SINGLE_OP_GRAPH, std::shared_ptr<transform::DfGr… in ConvertAttributes()