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

View Source

Parameters to specify for multislice QueuedResource requests. This message must be populated in case of multislice requests instead of node_id.

Attributes

  • nodeCount (type: integer(), default: nil) - Required. Number of nodes with this spec. The system will attempt to provision "node_count" nodes as part of the request. This needs to be > 1.
  • nodeIdPrefix (type: String.t, default: nil) - Optional. Prefix of nodeids in case of multislice request. Should follow the `^[A-Za-z0-9.~+%-]+$` regex format. If node_count = 3 and node_id_prefix = "np", node ids of nodes created will be "np-0", "np-1", "np-2". If this field is not provided we use queued_resource_id as the node_id_prefix.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.MultisliceParams{
  nodeCount: integer() | nil,
  nodeIdPrefix: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.