- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RestoreSession (0.38 sec)
-
tensorflow/cc/saved_model/loader.cc
ReadSavedModelDebugInfoIfPresent(export_dir, &bundle->debug_info)); TF_RETURN_IF_ERROR(LoadMetagraphIntoSession( session_options, bundle->meta_graph_def, &bundle->session)); TF_RETURN_IF_ERROR(RestoreSession(run_options, bundle->meta_graph_def, export_dir, &bundle->session)); return absl::OkStatus(); } namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
&actual_metagraph)); EXPECT_EQ(actual_metagraph.DebugString(), bundle.meta_graph_def.DebugString()); } TEST_F(LoaderTest, RestoreSession) { SavedModelBundle bundle; SessionOptions session_options; RunOptions run_options; const string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.h
// indicated metagraph. // The recommended way to load a saved model is to call LoadSavedModel, // which provides an already initialized Metagraph, Session, and DebugInfo. Status RestoreSession(const RunOptions& run_options, const MetaGraphDef& meta_graph, const string& export_dir, std::unique_ptr<Session>* session); // Initialize a session which wraps this metagraph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 6K bytes - Viewed (0)