# tf.tpu.experimental.HardwareFeature

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/tpu/tpu_hardware_feature.py#L21-L72) |

class holds all the feature info about the TPU.

#### View aliases


**Compat aliases for migration**

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

[`tf.compat.v1.tpu.experimental.HardwareFeature`](https://www.tensorflow.org/api_docs/python/tf/tpu/experimental/HardwareFeature)

<br />

    tf.tpu.experimental.HardwareFeature(
        tpu_hardware_feature_proto
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `tpu_hardware_feature_proto` | protobuf which describe the tpu hardware feature. |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `embedding_feature` | TPU embedding feature. |

<br />

## Child Classes

[`class EmbeddingFeature`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/tpu/experimental/HardwareFeature/EmbeddingFeature)