tf.tpu.experimental.TPUSystemMetadata  |  TensorFlow v2.16.1 (original) (raw)

tf.tpu.experimental.TPUSystemMetadata

Stay organized with collections Save and categorize content based on your preferences.

Describes some metadata about the TPU system.

View aliases

Compat aliases for migration

SeeMigration guide for more details.

tf.compat.v1.tpu.experimental.TPUSystemMetadata

tf.tpu.experimental.TPUSystemMetadata(
    num_cores, num_hosts, num_of_cores_per_host, topology, devices
)
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, which describes the physical topology of TPU system.
devices a tuple of strings, which describes all the TPU devices in the system.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.