Reference documentation and code samples for the Google Cloud Notebooks V2 Client 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.
Generated from protobuf message google.cloud.notebooks.v2.AcceleratorConfig
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Optional. Type of this accelerator.
↳ core_count
int|string
Optional. Count of cores of this accelerator.
getType
Optional. Type of this accelerator.
int
setType
Optional. Type of this accelerator.
var
int
$this
getCoreCount
Optional. Count of cores of this accelerator.
int|string
setCoreCount
Optional. Count of cores of this accelerator.
var
int|string
$this