GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_AcceleratorConfig (google_api_machine_learning v0.27.0) View Source

Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about accelerators for training and accelerators for online prediction.

Attributes

  • count (type: String.t, default: nil) - The number of accelerators to attach to each machine running the job.
  • type (type: String.t, default: nil) - The type of accelerator to use.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_AcceleratorConfig{
  count: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.