Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
Candidates with top log probabilities at each decoding step.
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate>
Sorted by log probability in descending order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
constructor
A new instance of GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
Returns a new instance of GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates.
1208 1209 1210 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate>
Sorted by log probability in descending order.
Corresponds to the JSON property candidates
1206 1207 1208 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1206 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1213 1214 1215 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1213 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |