Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MetaGraphDef (0.12 sec)

  1. tensorflow/c/c_api.h

    // - `tags` must include the set of tags used to identify one MetaGraphDef in
    //    the SavedModel.
    // - `graph` must be a graph newly allocated with TF_NewGraph().
    //
    // 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(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      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;
      metagraph_def.ParseFromArray(metagraph->data, metagraph->length);
      TF_DeleteBuffer(metagraph);
    
      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      CSession csession(session);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top