public sealed class MachineSpec : IMessage<MachineSpec>, IEquatable<MachineSpec>, IDeepCloneable<MachineSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class MachineSpec.
Specification of a single machine.
Implements
IMessageMachineSpec, IEquatableMachineSpec, IDeepCloneableMachineSpec, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
MachineSpec()
public MachineSpec()MachineSpec(MachineSpec)
public MachineSpec(MachineSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
MachineSpec |
Properties
AcceleratorCount
public int AcceleratorCount { get; set; }The number of accelerators to attach to the machine.
| Property Value | |
|---|---|
| Type | Description |
int |
|
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.visionai.v1.MachineSpec.accelerator_count].
| Property Value | |
|---|---|
| Type | Description |
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][] this field is optional, and the default
value is n1-standard-2. For [BatchPredictionJob][] or as part of
[WorkerPoolSpec][] this field is required.
| Property Value | |
|---|---|
| Type | Description |
string |
|