Class: Google::Apis::LanguageV1::XpsImageModelArtifactSpec
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsImageModelArtifactSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Overview
Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.
Instance Attribute Summary collapse
-
#checkpoint_artifact ⇒ Google::Apis::LanguageV1::XpsModelArtifactItem
A single model artifact item.
-
#export_artifact ⇒ Array<Google::Apis::LanguageV1::XpsModelArtifactItem>
The model binary files in different formats for model export.
-
#label_gcs_uri ⇒ String
GCS uri of decoded labels file for model export 'dict.txt'.
-
#serving_artifact ⇒ Google::Apis::LanguageV1::XpsModelArtifactItem
A single model artifact item.
-
#tf_js_binary_gcs_prefix ⇒ String
GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.
-
#tf_lite_metadata_gcs_uri ⇒ String
GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsImageModelArtifactSpec
constructor
A new instance of XpsImageModelArtifactSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsImageModelArtifactSpec
Returns a new instance of XpsImageModelArtifactSpec.
2689 2690 2691 |
# File 'lib/google/apis/language_v1/classes.rb', line 2689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checkpoint_artifact ⇒ Google::Apis::LanguageV1::XpsModelArtifactItem
A single model artifact item.
Corresponds to the JSON property checkpointArtifact
2661 2662 2663 |
# File 'lib/google/apis/language_v1/classes.rb', line 2661 def checkpoint_artifact @checkpoint_artifact end |
#export_artifact ⇒ Array<Google::Apis::LanguageV1::XpsModelArtifactItem>
The model binary files in different formats for model export.
Corresponds to the JSON property exportArtifact
2666 2667 2668 |
# File 'lib/google/apis/language_v1/classes.rb', line 2666 def export_artifact @export_artifact end |
#label_gcs_uri ⇒ String
GCS uri of decoded labels file for model export 'dict.txt'.
Corresponds to the JSON property labelGcsUri
2671 2672 2673 |
# File 'lib/google/apis/language_v1/classes.rb', line 2671 def label_gcs_uri @label_gcs_uri end |
#serving_artifact ⇒ Google::Apis::LanguageV1::XpsModelArtifactItem
A single model artifact item.
Corresponds to the JSON property servingArtifact
2676 2677 2678 |
# File 'lib/google/apis/language_v1/classes.rb', line 2676 def serving_artifact @serving_artifact end |
#tf_js_binary_gcs_prefix ⇒ String
GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'
Deprecated.
Corresponds to the JSON property tfJsBinaryGcsPrefix
2682 2683 2684 |
# File 'lib/google/apis/language_v1/classes.rb', line 2682 def tf_js_binary_gcs_prefix @tf_js_binary_gcs_prefix end |
#tf_lite_metadata_gcs_uri ⇒ String
GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
Corresponds to the JSON property tfLiteMetadataGcsUri
2687 2688 2689 |
# File 'lib/google/apis/language_v1/classes.rb', line 2687 def @tf_lite_metadata_gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/google/apis/language_v1/classes.rb', line 2694 def update!(**args) @checkpoint_artifact = args[:checkpoint_artifact] if args.key?(:checkpoint_artifact) @export_artifact = args[:export_artifact] if args.key?(:export_artifact) @label_gcs_uri = args[:label_gcs_uri] if args.key?(:label_gcs_uri) @serving_artifact = args[:serving_artifact] if args.key?(:serving_artifact) @tf_js_binary_gcs_prefix = args[:tf_js_binary_gcs_prefix] if args.key?(:tf_js_binary_gcs_prefix) @tf_lite_metadata_gcs_uri = args[:tf_lite_metadata_gcs_uri] if args.key?(:tf_lite_metadata_gcs_uri) end |