Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_NewDeprecatedSession (0.28 sec)

  1. tensorflow/c/c_api.h

    // TF_ExtendGraph(). This deprecated API can be removed at any time without
    // notice.
    
    typedef struct TF_DeprecatedSession TF_DeprecatedSession;
    
    TF_CAPI_EXPORT extern TF_DeprecatedSession* TF_NewDeprecatedSession(
        const TF_SessionOptions*, TF_Status* status);
    TF_CAPI_EXPORT extern void TF_CloseDeprecatedSession(TF_DeprecatedSession*,
                                                         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)
  2. tensorflow/c/c_api_test.cc

      TF_DeleteSessionOptions(opt);
    }
    
    TEST(CAPI, DeprecatedSession) {
      TF_Status* s = TF_NewStatus();
      TF_SessionOptions* opt = TF_NewSessionOptions();
      TF_DeprecatedSession* session = TF_NewDeprecatedSession(opt, s);
      TF_DeleteSessionOptions(opt);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Buffer* run_options = TF_NewBufferFromString("", 0);
      TF_Buffer* run_metadata = TF_NewBuffer();
    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)
  3. tensorflow/c/c_api.cc

              ->FromProto(from_tensor_proto);
    }
    // --------------------------------------------------------------------------
    
    TF_DeprecatedSession* TF_NewDeprecatedSession(const TF_SessionOptions* opt,
                                                  TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top