Class: Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/notebooks/v1beta1/instance.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#core_count::Integer

Returns Count of cores of this accelerator.

Returns:

  • (::Integer)

    Count of cores of this accelerator.



205
206
207
208
# File 'proto_docs/google/cloud/notebooks/v1beta1/instance.rb', line 205

class AcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorType

Returns Type of this accelerator.

Returns:



205
206
207
208
# File 'proto_docs/google/cloud/notebooks/v1beta1/instance.rb', line 205

class AcceleratorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end