Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootScore
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::LearningGenaiRootScore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#calculation_type ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootCalculationType
The type used for final weights calculation.
-
#internal_metadata ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootInternalMetadata
The internal_metadata is intended to be used by internal processors and will be cleared before returns.
-
#threshold_type ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootThresholdType
The type of score that bundled with a threshold, and will not be attending the final score calculation.
-
#tokens_and_logprob_per_decoding_step ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootTokensAndLogProbPerDecodingStep
Results of RandomSamplingParams::top_k_logprob_per_decoding_step.
-
#value ⇒ Float
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootScore
constructor
A new instance of LearningGenaiRootScore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootScore
Returns a new instance of LearningGenaiRootScore.
33247 33248 33249 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calculation_type ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootCalculationType
The type used for final weights calculation.
Corresponds to the JSON property calculationType
33222 33223 33224 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33222 def calculation_type @calculation_type end |
#internal_metadata ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootInternalMetadata
The internal_metadata is intended to be used by internal processors and will
be cleared before returns.
Corresponds to the JSON property internalMetadata
33228 33229 33230 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33228 def @internal_metadata end |
#threshold_type ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootThresholdType
The type of score that bundled with a threshold, and will not be attending the
final score calculation. How each score type uses the threshold can be
implementation details.
Corresponds to the JSON property thresholdType
33235 33236 33237 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33235 def threshold_type @threshold_type end |
#tokens_and_logprob_per_decoding_step ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootTokensAndLogProbPerDecodingStep
Results of RandomSamplingParams::top_k_logprob_per_decoding_step.
Corresponds to the JSON property tokensAndLogprobPerDecodingStep
33240 33241 33242 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33240 def tokens_and_logprob_per_decoding_step @tokens_and_logprob_per_decoding_step end |
#value ⇒ Float
Corresponds to the JSON property value
33245 33246 33247 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33245 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33252 33253 33254 33255 33256 33257 33258 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33252 def update!(**args) @calculation_type = args[:calculation_type] if args.key?(:calculation_type) @internal_metadata = args[:internal_metadata] if args.key?(:internal_metadata) @threshold_type = args[:threshold_type] if args.key?(:threshold_type) @tokens_and_logprob_per_decoding_step = args[:tokens_and_logprob_per_decoding_step] if args.key?(:tokens_and_logprob_per_decoding_step) @value = args[:value] if args.key?(:value) end |