Class: Google::Apis::LanguageV2::XpsResponseExplanationMetadataOutputMetadata

Inherits:
Object
  • Object
show all
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

Overview

Metadata of the prediction output to be explained.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsResponseExplanationMetadataOutputMetadata

Returns a new instance of XpsResponseExplanationMetadataOutputMetadata.



3032
3033
3034
# File 'lib/google/apis/language_v2/classes.rb', line 3032

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#output_tensor_nameString

Name of the output tensor. Only needed in train response. Corresponds to the JSON property outputTensorName

Returns:

  • (String)


3030
3031
3032
# File 'lib/google/apis/language_v2/classes.rb', line 3030

def output_tensor_name
  @output_tensor_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3037
3038
3039
# File 'lib/google/apis/language_v2/classes.rb', line 3037

def update!(**args)
  @output_tensor_name = args[:output_tensor_name] if args.key?(:output_tensor_name)
end