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

View Source

A accelerator type that a Node can be configured with.

Attributes

  • acceleratorConfigs (type: list(GoogleApi.TPU.V2.Model.AcceleratorConfig.t), default: nil) - The accelerator config.
  • name (type: String.t, default: nil) - The resource name.
  • type (type: String.t, default: nil) - The accelerator type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.AcceleratorType{
  acceleratorConfigs: [GoogleApi.TPU.V2.Model.AcceleratorConfig.t()] | nil,
  name: 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.