Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_LoadSessionFromSavedModel (0.6 sec)

  1. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top