Class: Google::Apis::LanguageV1beta2::XpsResponseExplanationMetadataOutputMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsResponseExplanationMetadataOutputMetadata
- 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 prediction output to be explained.
Instance Attribute Summary collapse
-
#output_tensor_name ⇒ String
Name of the output tensor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsResponseExplanationMetadataOutputMetadata
constructor
A new instance of XpsResponseExplanationMetadataOutputMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsResponseExplanationMetadataOutputMetadata
Returns a new instance of XpsResponseExplanationMetadataOutputMetadata.
3338 3339 3340 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#output_tensor_name ⇒ String
Name of the output tensor. Only needed in train response.
Corresponds to the JSON property outputTensorName
3336 3337 3338 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3336 def output_tensor_name @output_tensor_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3343 3344 3345 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3343 def update!(**args) @output_tensor_name = args[:output_tensor_name] if args.key?(:output_tensor_name) end |