Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewSession (0.17 sec)

  1. tensorflow/c/c_api_test.cc

                                                                 TF_DeleteGraph);
    
      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph.get(), opts, s);
      TF_DeleteSessionOptions(opts);
    
      const string gpu_device_name = GPUDeviceName(sess);
      TF_DeleteSession(sess, s);
      CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

    // kept alive for the lifetime of the returned TF_Session. New nodes can still
    // be added to `graph` after this call.
    TF_CAPI_EXPORT extern TF_Session* TF_NewSession(TF_Graph* graph,
                                                    const TF_SessionOptions* opts,
                                                    TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top