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

Function LoadSavedModel

tensorflow/cc/saved_model/loader.cc:491–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489} // namespace
490
491Status LoadSavedModel(const SessionOptions& session_options,
492 const RunOptions& run_options, const string& export_dir,
493 const std::unordered_set<string>& tags,
494 SavedModelBundle* const bundle) {
495 // TODO(robson): Add tests for the counters.
496 const uint64 start_microseconds = Env::Default()->NowMicros();
497 const Status status = LoadSavedModelInternal(session_options, run_options,
498 export_dir, tags, bundle);
499 return LogAndCount(status, start_microseconds, tags, export_dir);
500}
501
502Status LoadSavedModel(const SessionGroupOptions& session_options,
503 const RunOptions& run_options, const string& export_dir,

Callers 5

TEST_FFunction · 0.70
SavedModelV1ToMlirImportFunction · 0.50

Calls 4

DefaultFunction · 0.85
LoadSavedModelInternalFunction · 0.85
LogAndCountFunction · 0.70
NowMicrosMethod · 0.45

Tested by 1

TEST_FFunction · 0.56