Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::MachineSpec.
Specification of a single machine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerator_count
def accelerator_count() -> ::Integer
- (::Integer) — The number of accelerators to attach to the machine.
#accelerator_count=
def accelerator_count=(value) -> ::Integer
- value (::Integer) — The number of accelerators to attach to the machine.
- (::Integer) — The number of accelerators to attach to the machine.
#accelerator_type
def accelerator_type() -> ::Google::Cloud::VisionAI::V1::AcceleratorType
- (::Google::Cloud::VisionAI::V1::AcceleratorType) — Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.
#accelerator_type=
def accelerator_type=(value) -> ::Google::Cloud::VisionAI::V1::AcceleratorType
- value (::Google::Cloud::VisionAI::V1::AcceleratorType) — Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.
- (::Google::Cloud::VisionAI::V1::AcceleratorType) — Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.
#machine_type
def machine_type() -> ::String
-
(::String) — 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.
#machine_type=
def machine_type=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.