Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FindDeviceFromName (0.07 sec)

  1. tensorflow/c/eager/c_api.cc

        void* deallocator_arg, TF_Status* status) {
      tensorflow::Device* device = nullptr;
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      status->status = context->FindDeviceFromName(device_name, &device);
      if (!status->status.ok()) {
        deallocator(data, len, deallocator_arg);
        status->status =
            tensorflow::errors::InvalidArgument(device_name, " unknown device.");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top