Cloud AI Platform v1 API - Class MachineSpec (2.9.0)

public sealed class MachineSpec : IMessage<MachineSpec>, IEquatable<MachineSpec>, IDeepCloneable<MachineSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class MachineSpec.

Specification of a single machine.

Inheritance

Object > MachineSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MachineSpec()

public MachineSpec()

MachineSpec(MachineSpec)

public MachineSpec(MachineSpec other)
Parameter
NameDescription
otherMachineSpec

Properties

AcceleratorCount

public int AcceleratorCount { get; set; }

The number of accelerators to attach to the machine.

Property Value
TypeDescription
Int32

AcceleratorType

public AcceleratorType AcceleratorType { get; set; }

Immutable. The type of accelerator(s) that may be attached to the machine as per [accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count].

Property Value
TypeDescription
AcceleratorType

MachineType

public string MachineType { get; set; }

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][google.cloud.aiplatform.v1.DeployedModel] this field is optional, and the default value is n1-standard-2. For [BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob] or as part of [WorkerPoolSpec][google.cloud.aiplatform.v1.WorkerPoolSpec] this field is required.

Property Value
TypeDescription
String