Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

tf.raw_ops.IteratorGetDevice

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.