Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gpu_2_name (0.04 sec)

  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);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top