Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult
- 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
Logprobs Result
Instance Attribute Summary collapse
-
#chosen_candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate>
Length = total number of decoding steps.
-
#top_candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates>
Length = total number of decoding steps.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LogprobsResult
constructor
A new instance of GoogleCloudAiplatformV1beta1LogprobsResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LogprobsResult
Returns a new instance of GoogleCloudAiplatformV1beta1LogprobsResult.
1175 1176 1177 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chosen_candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate>
Length = total number of decoding steps. The chosen candidates may or may not
be in top_candidates.
Corresponds to the JSON property chosenCandidates
1168 1169 1170 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1168 def chosen_candidates @chosen_candidates end |
#top_candidates ⇒ Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates>
Length = total number of decoding steps.
Corresponds to the JSON property topCandidates
1173 1174 1175 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1173 def top_candidates @top_candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1180 1181 1182 1183 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1180 def update!(**args) @chosen_candidates = args[:chosen_candidates] if args.key?(:chosen_candidates) @top_candidates = args[:top_candidates] if args.key?(:top_candidates) end |