Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_LoadSessionFromSavedModel (0.17 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: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. 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)
Back to top