Class: Google::Apis::LanguageV1beta2::XpsResponseExplanationMetadataInputMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsResponseExplanationMetadataInputMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Overview
Metadata of the input of a feature.
Instance Attribute Summary collapse
-
#input_tensor_name ⇒ String
Name of the input tensor for this model.
-
#modality ⇒ String
Modality of the feature.
-
#visualization_config ⇒ Google::Apis::LanguageV1beta2::XpsVisualization
Visualization configurations for image explanation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsResponseExplanationMetadataInputMetadata
constructor
A new instance of XpsResponseExplanationMetadataInputMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsResponseExplanationMetadataInputMetadata
Returns a new instance of XpsResponseExplanationMetadataInputMetadata.
3317 3318 3319 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_tensor_name ⇒ String
Name of the input tensor for this model. Only needed in train response.
Corresponds to the JSON property inputTensorName
3305 3306 3307 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3305 def input_tensor_name @input_tensor_name end |
#modality ⇒ String
Modality of the feature. Valid values are: numeric, image. Defaults to numeric.
Corresponds to the JSON property modality
3310 3311 3312 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3310 def modality @modality end |
#visualization_config ⇒ Google::Apis::LanguageV1beta2::XpsVisualization
Visualization configurations for image explanation.
Corresponds to the JSON property visualizationConfig
3315 3316 3317 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3315 def visualization_config @visualization_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3322 3323 3324 3325 3326 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3322 def update!(**args) @input_tensor_name = args[:input_tensor_name] if args.key?(:input_tensor_name) @modality = args[:modality] if args.key?(:modality) @visualization_config = args[:visualization_config] if args.key?(:visualization_config) end |