Class: Google::Cloud::VisionAI::V1::MachineSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/platform.rb

Overview

Specification of a single machine.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_count::Integer

Returns The number of accelerators to attach to the machine.

Returns:

  • (::Integer)

    The number of accelerators to attach to the machine.



1984
1985
1986
1987
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1984

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

#accelerator_type::Google::Cloud::VisionAI::V1::AcceleratorType

Returns Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.

Returns:



1984
1985
1986
1987
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1984

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

#machine_type::String

Returns Immutable. The type of the machine.

See the list of machine types supported for prediction

See the list of machine types supported for custom training.

For [DeployedModel][] this field is optional, and the default value is n1-standard-2. For [BatchPredictionJob][] or as part of [WorkerPoolSpec][] this field is required.

Returns:



1984
1985
1986
1987
# File 'proto_docs/google/cloud/visionai/v1/platform.rb', line 1984

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