# tf.raw_ops.TensorMapStackKeys

<br />

Returns a Tensor stack of all keys in a tensor map.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.TensorMapStackKeys(
        input_handle, key_dtype, name=None
    )

input_handle: the input map
keys: the returned Tensor of all keys in the map

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input_handle` | A `Tensor` of type `variant`. |
| `key_dtype` | A [`tf.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType). |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />