public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessageReference documentation and code samples for the Notebooks v2 API class AcceleratorConfig.
An accelerator configuration for a VM instance
Definition of a hardware accelerator. Note that there is no check on type
and core_count combinations. TPUs are not supported.
See GPUs on Compute
Engine to find a
valid combination.
Implements
IMessageAcceleratorConfig, IEquatableAcceleratorConfig, IDeepCloneableAcceleratorConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Notebooks.V2Assembly
Google.Cloud.Notebooks.V2.dll
Constructors
AcceleratorConfig()
public AcceleratorConfig()AcceleratorConfig(AcceleratorConfig)
public AcceleratorConfig(AcceleratorConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AcceleratorConfig |
Properties
CoreCount
public long CoreCount { get; set; }Optional. Count of cores of this accelerator.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Type
public AcceleratorConfig.Types.AcceleratorType Type { get; set; }Optional. Type of this accelerator.
| Property Value | |
|---|---|
| Type | Description |
AcceleratorConfigTypesAcceleratorType |
|