Check for error when tensor result is filled in asynchronously.
Check for error when tensor result is filled in asynchronously.

PiperOrigin-RevId: 311058599

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime