Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gpu_1_name (0.17 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);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top