Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Response (0.44 sec)

  1. tensorflow/c/c_api.cc

      TF_DeviceList* response = new TF_DeviceList;
      if (session && session->session)
        status->status = session->session->ListDevices(&response->response);
      return response;
    }
    
    TF_DeviceList* TF_DeprecatedSessionListDevices(TF_DeprecatedSession* session,
                                                   TF_Status* status) {
      TF_DeviceList* response = new TF_DeviceList;
      if (session && session->session)
    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)
  2. tensorflow/c/eager/c_api.cc

      tensorflow::unwrap(ctx)->Release();
    }
    
    TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) {
      TF_DeviceList* l = new TF_DeviceList;
      tensorflow::unwrap(ctx)->ListDevices(&l->response);
      return l;
    }
    
    void TFE_ContextClearCaches(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->ClearCachesAndThreadExecutors();
    }
    
    // Set server_def on the context, possibly updating it.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                   : std::get<gcs::ObjectMetadata>(value).name();
        auto pos = children.find(prefix);
        if (pos != 0) {
          TF_SetStatus(status, TF_INTERNAL,
                       absl::StrCat("Unexpected response: the returned file name ",
                                    children, " doesn't match the prefix ", prefix)
                           .c_str());
          return result;
        }
        children.erase(0, prefix.length());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top