AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::Instance::AcceleratorConfig (v0.8.2)

Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::Instance::AcceleratorConfig.

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#core_count

def core_count() -> ::Integer
Returns
  • (::Integer) — Count of cores of this accelerator.

#core_count=

def core_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Count of cores of this accelerator.
Returns
  • (::Integer) — Count of cores of this accelerator.

#type

def type() -> ::Google::Cloud::Notebooks::V1::Instance::AcceleratorType
Returns

#type=

def type=(value) -> ::Google::Cloud::Notebooks::V1::Instance::AcceleratorType
Parameter
Returns