Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Candidates with top log probabilities at each decoding step.
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>
Sorted by log probability in descending order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1LogprobsResultTopCandidates
constructor
A new instance of GoogleCloudAiplatformV1LogprobsResultTopCandidates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1LogprobsResultTopCandidates
Returns a new instance of GoogleCloudAiplatformV1LogprobsResultTopCandidates.
14874 14875 14876 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>
Sorted by log probability in descending order.
Corresponds to the JSON property candidates
14872 14873 14874 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14872 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14879 14880 14881 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14879 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |