# tf.raw_ops.CompressElement

<br />

Compresses a dataset element.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.CompressElement(
        components, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `components` | A list of `Tensor` objects. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />