Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFE_TensorHandleDeviceName (0.11 sec)

  1. tensorflow/c/eager/custom_device_testutil.cc

      for (int j = 0; j < num_inputs; ++j) {
        TFE_TensorHandle* input = TFE_OpGetFlatInput(original_op, j, s);
        if (TF_GetCode(s) != TF_OK) return;
        const char* input_device = TFE_TensorHandleDeviceName(input, s);
        if (TF_GetCode(s) != TF_OK) return;
        if (dev->device_name == input_device) {
          LoggedTensor* t = reinterpret_cast<LoggedTensor*>(
              TFE_TensorHandleDevicePointer(input, s));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Mar 03 20:47:31 UTC 2021
    - 8.3K bytes
    - Viewed (0)
Back to top