# tf.raw_ops.ExperimentalIteratorGetDevice

<br />

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

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.ExperimentalIteratorGetDevice`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/ExperimentalIteratorGetDevice)

<br />

    tf.raw_ops.ExperimentalIteratorGetDevice(
        resource, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `resource` | A `Tensor` of type `resource`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />