Class: Google::Apis::LanguageV2::XpsImageSegmentationTrainResponse
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsImageSegmentationTrainResponse
- 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
-
#color_maps ⇒ Array<Google::Apis::LanguageV2::XpsColorMap>
Color map of the model.
-
#export_model_spec ⇒ Google::Apis::LanguageV2::XpsImageExportModelSpec
Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend.
-
#model_artifact_spec ⇒ Google::Apis::LanguageV2::XpsImageModelArtifactSpec
Stores the locations and related metadata of the model artifacts.
-
#model_serving_spec ⇒ Google::Apis::LanguageV2::XpsImageModelServingSpec
Serving specification for image models.
-
#stop_reason ⇒ String
Stop reason for training job, e.g.
-
#train_cost_node_seconds ⇒ Fixnum
The actual train cost of creating this model, expressed in node seconds, i.e.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsImageSegmentationTrainResponse
constructor
A new instance of XpsImageSegmentationTrainResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsImageSegmentationTrainResponse
Returns a new instance of XpsImageSegmentationTrainResponse.
2682 2683 2684 |
# File 'lib/google/apis/language_v2/classes.rb', line 2682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color_maps ⇒ Array<Google::Apis::LanguageV2::XpsColorMap>
Color map of the model.
Corresponds to the JSON property colorMaps
2648 2649 2650 |
# File 'lib/google/apis/language_v2/classes.rb', line 2648 def color_maps @color_maps end |
#export_model_spec ⇒ Google::Apis::LanguageV2::XpsImageExportModelSpec
Information of downloadable models that are pre-generated as part of training
flow and will be persisted in AutoMl backend. Upon receiving ExportModel
request from user, AutoMl backend can serve the pre-generated models to user
if exists (by copying the files from internal path to user provided location),
otherwise, AutoMl backend will call xPS ExportModel API to generate the model
on the fly with the requesting format.
Corresponds to the JSON property exportModelSpec
2658 2659 2660 |
# File 'lib/google/apis/language_v2/classes.rb', line 2658 def export_model_spec @export_model_spec end |
#model_artifact_spec ⇒ Google::Apis::LanguageV2::XpsImageModelArtifactSpec
Stores the locations and related metadata of the model artifacts. Populated
for uCAIP requests only.
Corresponds to the JSON property modelArtifactSpec
2664 2665 2666 |
# File 'lib/google/apis/language_v2/classes.rb', line 2664 def model_artifact_spec @model_artifact_spec end |
#model_serving_spec ⇒ Google::Apis::LanguageV2::XpsImageModelServingSpec
Serving specification for image models.
Corresponds to the JSON property modelServingSpec
2669 2670 2671 |
# File 'lib/google/apis/language_v2/classes.rb', line 2669 def model_serving_spec @model_serving_spec end |
#stop_reason ⇒ String
Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.
Corresponds to the JSON property stopReason
2674 2675 2676 |
# File 'lib/google/apis/language_v2/classes.rb', line 2674 def stop_reason @stop_reason end |
#train_cost_node_seconds ⇒ Fixnum
The actual train cost of creating this model, expressed in node seconds, i.e.
3,600 value in this field means 1 node hour.
Corresponds to the JSON property trainCostNodeSeconds
2680 2681 2682 |
# File 'lib/google/apis/language_v2/classes.rb', line 2680 def train_cost_node_seconds @train_cost_node_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/google/apis/language_v2/classes.rb', line 2687 def update!(**args) @color_maps = args[:color_maps] if args.key?(:color_maps) @export_model_spec = args[:export_model_spec] if args.key?(:export_model_spec) @model_artifact_spec = args[:model_artifact_spec] if args.key?(:model_artifact_spec) @model_serving_spec = args[:model_serving_spec] if args.key?(:model_serving_spec) @stop_reason = args[:stop_reason] if args.key?(:stop_reason) @train_cost_node_seconds = args[:train_cost_node_seconds] if args.key?(:train_cost_node_seconds) end |