Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.raw_ops.ExperimentalIteratorGetDevice

Returns the name of the device on which resource has been placed.

resource A Tensor of type resource.
name A name for the operation (optional).

A Tensor of type string.