Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo
- 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
The reward info for a reward function.
Instance Attribute Summary collapse
-
#reward ⇒ Float
Output only.
-
#user_requested_aux_info ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo
constructor
A new instance of GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo
Returns a new instance of GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.
45786 45787 45788 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reward ⇒ Float
Output only. The calculated reward for the reward function.
Corresponds to the JSON property reward
45778 45779 45780 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45778 def reward @reward end |
#user_requested_aux_info ⇒ String
Optional. Output only. The user-requested auxiliary info for the reward
function.
Corresponds to the JSON property userRequestedAuxInfo
45784 45785 45786 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45784 def user_requested_aux_info @user_requested_aux_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45791 45792 45793 45794 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45791 def update!(**args) @reward = args[:reward] if args.key?(:reward) @user_requested_aux_info = args[:user_requested_aux_info] if args.key?(:user_requested_aux_info) end |