Notebooks v2 API - Class AcceleratorConfig (1.2.0)

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

Reference 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.

Inheritance

object > AcceleratorConfig

Namespace

Google.Cloud.Notebooks.V2

Assembly

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