Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig
- 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
Overview
Composite reward function configuration for reinforcement tuning.
Instance Attribute Summary collapse
-
#weighted_reward_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfigWeightedRewardConfig>
List of reward function configurations with weights.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig
Returns a new instance of GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfig.
11249 11250 11251 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#weighted_reward_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompositeReinforcementTuningRewardConfigWeightedRewardConfig>
List of reward function configurations with weights.
Corresponds to the JSON property weightedRewardConfigs
11247 11248 11249 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11247 def weighted_reward_configs @weighted_reward_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11254 11255 11256 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11254 def update!(**args) @weighted_reward_configs = args[:weighted_reward_configs] if args.key?(:weighted_reward_configs) end |