Home
last modified time | relevance | path

Searched refs:SessionBasic (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc59 MS_REG_SESSION(kSessionBasic, SessionBasic);
501 GraphId SessionBasic::graph_sum_ = 0;
503 void SessionBasic::InitExecutor(const std::string &device_name, uint32_t device_id) { in InitExecutor()
509 GraphId SessionBasic::GetGraphIdByNode(const AnfNodePtr &front_anf) const { in GetGraphIdByNode()
523 KernelGraphPtr SessionBasic::GetGraph(mindspore::GraphId graph_id) const { in GetGraph()
532 void SessionBasic::ClearGraph() { in ClearGraph()
541 void SessionBasic::InitInternalOutputParameter(const AnfNodePtr &out_node, const AnfNodePtr &parame… in InitInternalOutputParameter()
590 AnfNodePtr SessionBasic::CreateParameterFromTuple(const AnfNodePtr &node, KernelGraph *graph) { in CreateParameterFromTuple()
627 ParameterPtr SessionBasic::CreateNewParameterFromParameter(const AnfNodePtr &anf, KernelGraph *grap… in CreateNewParameterFromParameter()
662 AnfNodePtr SessionBasic::CreateNewParameterFromCNode(const AnfNodePtr &anf, KernelGraph *graph) { in CreateNewParameterFromCNode()
[all …]
Dsession_factory.h28 using SessionCreator = std::function<std::shared_ptr<SessionBasic>()>;
33 std::shared_ptr<SessionBasic> Create(const std::string &device_name);
Dcpu_session.h28 class CPUSession : public SessionBasic {
35 void UnifyMindIR(const KernelGraphPtr &graph) override { SessionBasic::UnifyMindIR(graph); } in UnifyMindIR()
Dgpu_session.h32 class GPUSession : public SessionBasic {
40 void UnifyMindIR(const KernelGraphPtr &graph) override { SessionBasic::UnifyMindIR(graph); } in UnifyMindIR()
Dsession_basic.h93 class SessionBasic : public std::enable_shared_from_this<SessionBasic> {
95 SessionBasic() : context_(nullptr), summary_callback_(nullptr), device_id_(0) { in SessionBasic() function
104 virtual ~SessionBasic() { summary_callback_ = nullptr; } in ~SessionBasic()
335 using SessionPtr = std::shared_ptr<session::SessionBasic>;
Dsession_factory.cc33 std::shared_ptr<SessionBasic> SessionFactory::Create(const std::string &device_name) { in Create()
Dascend_session.h39 class AscendSession : public SessionBasic {
Dascend_session.cc382 SessionBasic::UnifyMindIR(graph); in UnifyMindIR()
1625 SessionBasic::SetSummaryNodes(graph); in RecurseSetSummaryNodes()
1637 SessionBasic::SetSummaryNodes(child_graph.get()); in RecurseSetSummaryNodes()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/
Dacl_multi_graph_session.h30 class MultiGraphAclSession : public session::SessionBasic {
Dacl_multi_graph_session.cc50 auto kernel_graph = SessionBasic::ConstructKernelGraph(lst, outputs, false); in CompileGraphImpl()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/gpu/
Dgpu_graph_impl.h48 std::shared_ptr<session::SessionBasic> session_impl_;
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/ascend/
Dascend_graph_impl.h52 std::shared_ptr<session::SessionBasic> session_impl_;
/third_party/mindspore/mindspore/ccsrc/ps/
Dparameter_server.h153 std::shared_ptr<session::SessionBasic> sess_;
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute_ge.cc47 static std::shared_ptr<session::SessionBasic> session = nullptr;
Dpynative_execute.cc84 std::shared_ptr<session::SessionBasic> kSession = nullptr;