Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TensorHandleFromInterface (0.13 sec)

  1. tensorflow/c/eager/dlpack.cc

      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
      }
      tensorflow::TensorHandle* handle =
          tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h));
      if (handle->Type() != TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "DLPack doesn't support ", handle->TypeString(), " tensor");
        return nullptr;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
      }
      tensorflow::TensorHandle* handle =
          tensorflow::TensorHandleFromInterface(unwrapped_handle);
    
      if (handle->Type() != tensorflow::TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "TFE_TensorHandleDevicePointer may not be called on a ",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

                  tensorflow::unwrap(handles), *num_handles),
              &result);
          return tensorflow::wrap(result);
        }
        tensor_handles.push_back(
            tensorflow::TensorHandleFromInterface(unwrapped_handle));
      }
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      tensorflow::TensorHandle* handle = nullptr;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top