google_api_machine_learning v0.13.0 GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_ReplicaConfig View Source

Represents the configuration for a replica in a cluster.

Attributes

  • acceleratorConfig (type: GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_AcceleratorConfig.t, default: nil) - Represents the type and number of accelerators used by the replica. Learn about restrictions on accelerator configurations for training.
  • imageUri (type: String.t, default: nil) - The Docker image to run on the replica. This image must be in Container Registry. Learn more about configuring custom containers.
  • tpuTfVersion (type: String.t, default: nil) - The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a runtime version that currently supports training with TPUs.

    Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different patch version. In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow 1.x.y, specify 1.x.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_ReplicaConfig{
  acceleratorConfig:
    GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_AcceleratorConfig.t(),
  imageUri: String.t(),
  tpuTfVersion: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.