Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TFE_TensorHandleGetStatus (0.21 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        return nullptr;
      }
      TFE_TensorHandleGetStatus(components[0].get(), status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      TF_DataType dtype = TFE_TensorHandleDataType(components[0].get());
      // Verify that the combined TensorHandle's dtype matches all of the component
      // dtypes.
      for (TensorHandlePtr& component : components) {
        TFE_TensorHandleGetStatus(component.get(), status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental.cc

        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return -1;
      }
      return tensorflow::unwrap(h)->DeviceId(&status->status);
    }
    
    TF_CAPI_EXPORT extern void TFE_TensorHandleGetStatus(TFE_TensorHandle* h,
                                                         TF_Status* status) {
      status->status = tensorflow::unwrap(h)->TensorHandleStatus();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top