MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreateSession

Method CreateSession

serving/processor/serving/model_session.cc:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162Status ModelSessionMgr::CreateSession(Session** session) {
163 TF_RETURN_IF_ERROR(NewSession(*session_options_, session));
164 TF_RETURN_IF_ERROR((*session)->Create(meta_graph_def_.graph_def()));
165 asset_file_defs_.clear();
166 return util::GetAssetFileDefs(meta_graph_def_, &asset_file_defs_);
167}
168
169Status ModelSessionMgr::CreateSessionGroup(
170 SessionGroup** session_group, ModelConfig* config) {

Callers

nothing calls this directly

Calls 5

GetAssetFileDefsFunction · 0.70
NewSessionFunction · 0.50
CreateMethod · 0.45
graph_defMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected