Class: Google::Apis::LanguageV2::XpsImageModelServingSpecModelThroughputEstimation
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsImageModelServingSpecModelThroughputEstimation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#compute_engine_accelerator_type ⇒ String
Corresponds to the JSON property
computeEngineAcceleratorType
. -
#latency_in_milliseconds ⇒ Float
Estimated latency.
-
#node_qps ⇒ Float
The approximate qps a deployed node can serve.
-
#servomatic_partition_type ⇒ String
Corresponds to the JSON property
servomaticPartitionType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsImageModelServingSpecModelThroughputEstimation
constructor
A new instance of XpsImageModelServingSpecModelThroughputEstimation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsImageModelServingSpecModelThroughputEstimation
Returns a new instance of XpsImageModelServingSpecModelThroughputEstimation.
2475 2476 2477 |
# File 'lib/google/apis/language_v2/classes.rb', line 2475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compute_engine_accelerator_type ⇒ String
Corresponds to the JSON property computeEngineAcceleratorType
2458 2459 2460 |
# File 'lib/google/apis/language_v2/classes.rb', line 2458 def compute_engine_accelerator_type @compute_engine_accelerator_type end |
#latency_in_milliseconds ⇒ Float
Estimated latency.
Corresponds to the JSON property latencyInMilliseconds
2463 2464 2465 |
# File 'lib/google/apis/language_v2/classes.rb', line 2463 def latency_in_milliseconds @latency_in_milliseconds end |
#node_qps ⇒ Float
The approximate qps a deployed node can serve.
Corresponds to the JSON property nodeQps
2468 2469 2470 |
# File 'lib/google/apis/language_v2/classes.rb', line 2468 def node_qps @node_qps end |
#servomatic_partition_type ⇒ String
Corresponds to the JSON property servomaticPartitionType
2473 2474 2475 |
# File 'lib/google/apis/language_v2/classes.rb', line 2473 def servomatic_partition_type @servomatic_partition_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2480 2481 2482 2483 2484 2485 |
# File 'lib/google/apis/language_v2/classes.rb', line 2480 def update!(**args) @compute_engine_accelerator_type = args[:compute_engine_accelerator_type] if args.key?(:compute_engine_accelerator_type) @latency_in_milliseconds = args[:latency_in_milliseconds] if args.key?(:latency_in_milliseconds) @node_qps = args[:node_qps] if args.key?(:node_qps) @servomatic_partition_type = args[:servomatic_partition_type] if args.key?(:servomatic_partition_type) end |