# tf.raw_ops.TensorMapLookup

<br />

Returns the value from a given key 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.TensorMapLookup`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorMapLookup)

<br />

    tf.raw_ops.TensorMapLookup(
        input_handle, key, value_dtype, name=None
    )

input_handle: the input map
key: the key to be looked up
value: the value found from the given key

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input_handle` | A `Tensor` of type `variant`. |
| `key` | A `Tensor`. |
| `value_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 `value_dtype`. ||

<br />