Class AcceleratorConfig (1.10.1)

AcceleratorConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A TPU accelerator configuration.

Attributes

NameDescription
type_ google.cloud.tpu_v2.types.AcceleratorConfig.Type
Required. Type of TPU.
topology str
Required. Topology of TPU in chips.

Classes

Type

Type(value)

TPU type.

Values: TYPE_UNSPECIFIED (0): Unspecified version. V2 (2): TPU v2. V3 (4): TPU v3. V4 (7): TPU v4.