# tf.raw_ops.TensorMapErase

<br />

Returns a tensor map with item from given key erased.

#### View aliases


**Compat aliases for migration**

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

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

<br />

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

input_handle: the original map
output_handle: the map with value from given key removed
key: the key of the value to be erased

<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 `variant`. ||

<br />