Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OK (0.19 sec)

  1. tensorflow/c/eager/c_api.cc

      }
      tensorflow::Device* device(handle->device());
      if (device != nullptr) {
        status->status = device->Sync();
        if (!status->status.ok()) {
          return nullptr;
        }
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return nullptr;
      }
      return const_cast<void*>(
          static_cast<const void*>(tensor->tensor_data().data()));
    }
    
    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

    }
    
    void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to,
                            TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      tensorflow::TensorProto from_tensor_proto;
      status->status = BufferToMessage(from, &from_tensor_proto);
      if (!status->status.ok()) {
        return;
      }
      status->status =
          tensorflow::down_cast<tensorflow::TensorInterface*>(to->tensor)
    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