Home
last modified time | relevance | path

Searched refs:session_creator (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_factory.h32 void Register(const std::string &device_name, SessionCreator &&session_creator);
44 SessionRegistrar(const std::string &device_name, SessionCreator &&session_creator) { in SessionRegistrar() argument
45 SessionFactory::Get().Register(device_name, std::move(session_creator)); in SessionRegistrar()
Dsession_factory.cc27 void SessionFactory::Register(const std::string &device_name, SessionCreator &&session_creator) { in Register() argument
29 (void)session_creators_.emplace(device_name, session_creator); in Register()