pub struct ControlFeedback {
pub error: f64,
pub reward: f64,
pub rollback: bool,
pub consequence: f64,
pub kl_policy: [f64; 2],
}Expand description
Data structure representing control feedback.
Fields§
§error: f64Error for this value.
reward: f64Reward for this value.
rollback: boolWhether rollback is enabled or active.
consequence: f64Consequence for this value.
kl_policy: [f64; 2]Kl policy for this value.
Trait Implementations§
Source§impl Clone for ControlFeedback
impl Clone for ControlFeedback
impl Copy for ControlFeedback
Auto Trait Implementations§
impl Forget for ControlFeedback
impl Freeze for ControlFeedback
impl Move for ControlFeedback
impl RefUnwindSafe for ControlFeedback
impl Send for ControlFeedback
impl Sync for ControlFeedback
impl Unpin for ControlFeedback
impl UnsafeUnpin for ControlFeedback
impl UnwindSafe for ControlFeedback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more