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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `AcceleratorConfig` class is part of the Google Cloud Notebooks v2 API and is used to define the hardware accelerator configuration for a VM instance."],["The class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message handling, equality comparison, deep cloning, and buffer message operations."],["The class provides properties for defining the type of accelerator via the `Type` property, as well as the core count of the accelerator via the `CoreCount` property."],["The `AcceleratorConfig` class has two constructors: a default constructor, and a constructor that copies the properties of an existing `AcceleratorConfig`."]]],[]]