/TensorFlow 2.4


Retrieves a single tensor from the computation outfeed. Device ordinal is a

tensor allowing dynamic outfeed.

This operation will block indefinitely until data is available.

Args: device_ordinal: A Tensor of type int32. An int scalar tensor, representing the TPU device to use. This should be -1 when the Op is running on a TPU device, and >= 0 when the Op is running on the CPU device. dtype: A tf.DType. The type of elements in the tensor. shape: A tf.TensorShape or list of ints. The shape of the tensor. name: A name for the operation (optional).

Returns: A Tensor of type dtype.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.