GoogleCloudAiplatformV1MachineSpec class

Specification of a single machine.

Constructors

GoogleCloudAiplatformV1MachineSpec({Input<int>? acceleratorCount, Input<GoogleCloudAiplatformV1MachineSpecAcceleratorType>? acceleratorType, Input<String>? machineType, Input<String>? tpuTopology})
Creates a new GoogleCloudAiplatformV1MachineSpec. acceleratorCount The number of accelerators to attach to the machine. acceleratorType Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. machineType Immutable. The type of the machine. See the list of machine types supported for prediction See the list of machine types supported for custom training. For DeployedModel this field is optional, and the default value is n1-standard-2. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. tpuTopology Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").
const
GoogleCloudAiplatformV1MachineSpec.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorCount → Input<int>?
The number of accelerators to attach to the machine.
final
acceleratorType → Input<GoogleCloudAiplatformV1MachineSpecAcceleratorType>?
Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.
final
hashCode → int
The hash code for this object.
no setterinherited
machineType → Input<String>?
Immutable. The type of the machine. See the list of machine types supported for prediction See the list of machine types supported for custom training. For DeployedModel this field is optional, and the default value is n1-standard-2. For BatchPredictionJob or as part of WorkerPoolSpec this field is required.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tpuTopology → Input<String>?
Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited