GoogleApi.TPU.V2.Model.AcceleratorConfig (google_api_tpu v0.18.0)

View Source

A TPU accelerator configuration.

Attributes

  • topology (type: String.t, default: nil) - Required. Topology of TPU in chips.
  • type (type: String.t, default: nil) - Required. Type of TPU.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.AcceleratorConfig{
  topology: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.