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.