Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for gpu_2_name (0.05 seconds)

  1. tensorflow/c/eager/c_api_test.cc

        TFE_DeleteContext(ctx);
        return;
      }
      const string gpu_1_name(TF_DeviceListName(devices, 1, status.get()));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
      const string gpu_2_name(TF_DeviceListName(devices, 2, status.get()));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
      TFE_TensorHandle* hdevice =
          TFE_TensorHandleCopyToDevice(hcpu, ctx, gpu_1_name.c_str(), status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
Back to Top