# tf.tpu.experimental.TPUSystemMetadata

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/tpu/tpu_system_metadata.py#L40-L65) |

Describes some metadata about the TPU system.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.tpu.experimental.TPUSystemMetadata(
        num_cores, num_hosts, num_of_cores_per_host, topology, devices
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `num_cores` | interger. Total number of TPU cores in the TPU system. |
| `num_hosts` | interger. Total number of hosts (TPU workers) in the TPU system. |
| `num_of_cores_per_host` | interger. Number of TPU cores per host (TPU worker). |
| `topology` | an instance of [`tf.tpu.experimental.Topology`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/tpu/experimental/Topology), which describes the physical topology of TPU system. |
| `devices` | a tuple of strings, which describes all the TPU devices in the system. |

<br />