Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for clients (0.59 sec)

  1. tensorflow/c/eager/c_api.cc

          static_cast<tensorflow::ContextDevicePlacementPolicy>(policy));
    }
    
    // Note: this function looks up a thread local policy. So it should be called in
    // the appropriate client thread. In particular, in async mode, it may not be
    // safe to call this function from the async EagerExecutor threads.
    extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy(
        TFE_Context* ctx) {
    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)
  2. tensorflow/c/c_api.cc

        RunMetadata run_metadata_proto;
        result = session->Run(run_options_proto, input_pairs, output_tensor_names,
                              target_oper_names, &outputs, &run_metadata_proto);
    
        // Serialize back to upstream client, who now owns the new buffer
        if (run_metadata != nullptr) {
          status->status = MessageToBuffer(run_metadata_proto, run_metadata);
          if (!status->status.ok()) return;
        }
      } else {
    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)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      if (!pjrt_c_api_client.ok()) {
        status->status = pjrt_c_api_client.status();
        return nullptr;
      }
      status->status = absl::OkStatus();
      return (*pjrt_c_api_client)->pjrt_c_client();
    }
    
    PJRT_Buffer* TF_GetPjRtCBuffer(TF_Tensor* c_tensor, TF_Status* status) {
      tensorflow::Tensor tensor;
      auto s = tensorflow::TF_TensorToTensor(c_tensor, &tensor);
      if (!s.ok()) {
        status->status = s;
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top