Home
last modified time | relevance | path

Searched refs:graphs_ (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Ddf_graph_manager.cc79 auto ret = graphs_.emplace(name, wrap_ptr); in AddGraph()
93 for (auto it = graphs_.begin(); it != graphs_.end(); ++it) { in GetAllGraphs()
112 auto it = graphs_.find(name); in GetGraphByName()
113 if (it == graphs_.end()) { in GetGraphByName()
123 graphs_.clear(); in ClearGraph()
Ddf_graph_manager.h76 std::map<std::string, DfGraphWrapperPtr> graphs_; variable
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.h64 void ClearGraph() { graphs_.clear(); } in ClearGraph()
65 void SaveGraph(session::KernelGraph *graph) { (void)graphs_.emplace_back(graph); } in SaveGraph()
66 const std::vector<session::KernelGraph *> &graphs() const { return graphs_; } in graphs()
89 std::vector<session::KernelGraph *> graphs_; variable
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Ddata_prepare_actor.cc96 if (graph_compiler_info_->graphs_.size() != graph_compiler_info_->device_contexts_.size()) { in Init()
153 Async(*debug_aid_, &DebugActor::DebugOnStepBegin, graph_compiler_info_->graphs_, in SendDebugReq()
195 for (size_t i = 0; i < graph_compiler_info_->graphs_.size(); ++i) { in PrepareDataForDeviceTensorStore()
196 const auto &graph = graph_compiler_info_->graphs_[i]; in PrepareDataForDeviceTensorStore()
234 for (size_t i = 0; i < graph_compiler_info_->graphs_.size(); ++i) { in PrepareDataForHostTensorQueue()
235 const auto &graph = graph_compiler_info_->graphs_[i]; in PrepareDataForHostTensorQueue()
276 for (size_t i = 0; i < graph_compiler_info_->graphs_.size(); ++i) { in PrepareDataForStepMode()
277 const auto &graph = graph_compiler_info_->graphs_[i]; in PrepareDataForStepMode()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/
Dacl_multi_graph_session.cc75 graphs_[kernel_graph->graph_id()] = graph_cell; in CompileGraphImpl()
84 auto iter = graphs_.find(graph_id); in RunGraph()
85 if (iter == graphs_.end()) { in RunGraph()
Dacl_multi_graph_session.h43 std::map<GraphId, GraphCell> graphs_ = {}; variable
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dincorporate_getitem.h895 if (graphs_.empty()) { in operator()
900 for (auto &graph : graphs_) { in operator()
932 (void)std::transform(inputs.begin() + 1, inputs.end(), std::back_inserter(graphs_), in Visit()
946 graphs_.clear(); in Reset()
956 std::vector<FuncGraphPtr> graphs_{};
986 if (graphs_.empty()) { in operator()
991 for (auto &graph : graphs_) { in operator()
1024 (void)std::transform(inputs.begin() + 1, inputs.end(), std::back_inserter(graphs_), in Visit()
1038 graphs_.clear(); in Reset()
1049 std::vector<FuncGraphPtr> graphs_{};
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.h66 : graphs_(graphs), in GraphCompilerInfo()
79 std::vector<KernelGraphPtr> graphs_; member
Dgraph_scheduler.cc279 if (graph_compiler_info.graphs_.size() == 0) { in Transform()
282 if (graph_compiler_info.graphs_.size() != graph_compiler_info.device_contexts_.size()) { in Transform()
384 for (const auto &graph : graph_compiler_info.graphs_) { in CacheGraphOutputToActor()
440 for (size_t index = 0; index < graph_compiler_info.graphs_.size(); ++index) { in Link()
441 const auto &graph = graph_compiler_info.graphs_[index]; in Link()
492 for (size_t i = 0; i < graph_compiler_info.graphs_.size(); ++i) { in BuildDataSourceActor()
493 const auto &graph = graph_compiler_info.graphs_[i]; in BuildDataSourceActor()
591 for (size_t i = 0; i < graph_compiler_info.graphs_.size(); ++i) { in BuildKernelActor()
592 const auto &graph = graph_compiler_info.graphs_[i]; in BuildKernelActor()
674 for (size_t index = 0; index < graph_compiler_info.graphs_.size(); ++index) { in BuildDataPrepareActor()
[all …]
Dgraph_compiler.cc292 GraphCompilerInfo::~GraphCompilerInfo() { GraphScheduler::GetInstance().Clear(name_, graphs_); } in ~GraphCompilerInfo()
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc800 for (const auto &kernel_graph : graph_compiler_info.graphs_) { in RunGraph()
824 RunGraphBySingleOp(graph_compiler_info.graphs_, input_tensors, outputs); in RunGraph()
864 graph_compiler_->Summary(graph_compiler_info.graphs_); in RunGraph()
1077 const auto &graph = graph_compiler_info.graphs_.front(); in RunGraph()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc510 for (const auto &graph_item : graphs_) { in GetGraphIdByNode()
524 auto it = graphs_.find(graph_id); in GetGraph()
525 if (it == graphs_.end()) { in GetGraph()
533 auto graph_iter = graphs_.begin(); in ClearGraph()
534 while (graph_iter != graphs_.end()) { in ClearGraph()
536 graphs_.erase(graph_iter++); in ClearGraph()
2193 graphs_[graph_sum_++] = graph; in NewKernelGraph()
Dsession_basic.h318 std::unordered_map<GraphId, std::shared_ptr<KernelGraph>> graphs_; variable