- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_LoadSessionFromSavedModel (0.14 sec)
-
tensorflow/c/c_api_test.cc
TF_Buffer* metagraph = TF_NewBuffer(); TF_Status* s = TF_NewStatus(); const char* tags[] = {tensorflow::kSavedModelTagServe}; TF_Graph* graph = TF_NewGraph(); TF_Session* session = TF_LoadSessionFromSavedModel( opt, run_options, saved_model_dir.c_str(), tags, 1, graph, metagraph, s); TF_DeleteBuffer(run_options); TF_DeleteSessionOptions(opt); tensorflow::MetaGraphDef metagraph_def;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.h
// // If successful, populates `graph` with the contents of the Graph and // `meta_graph_def` with the MetaGraphDef of the loaded model. TF_CAPI_EXPORT extern TF_Session* TF_LoadSessionFromSavedModel( const TF_SessionOptions* session_options, const TF_Buffer* run_options, const char* export_dir, const char* const* tags, int tags_len, TF_Graph* graph, TF_Buffer* meta_graph_def, TF_Status* status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
} return new_session; } else { LOG(ERROR) << status->status; DCHECK_EQ(nullptr, session); return nullptr; } } TF_Session* TF_LoadSessionFromSavedModel( const TF_SessionOptions* session_options, const TF_Buffer* run_options, const char* export_dir, const char* const* tags, int tags_len, TF_Graph* graph, TF_Buffer* meta_graph_def, TF_Status* status) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)