Class: Google::Cloud::Notebooks::V1::Instance::AcceleratorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/notebooks/v1/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.



234
235
236
237
# File 'proto_docs/google/cloud/notebooks/v1/instance.rb', line 234

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

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

Returns Type of this accelerator.

Returns:



234
235
236
237
# File 'proto_docs/google/cloud/notebooks/v1/instance.rb', line 234

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