pub struct AsyncTrainStat {
pub samples_per_sec: f32,
pub duration: Duration,
pub opt_per_sec: f32,
}
Expand description
Stats of AsyncTrainer
::train()
.
Fields§
§samples_per_sec: f32
The number of samples pushed to the replay buffer per second.
duration: Duration
Duration of training.
opt_per_sec: f32
The number of optimization steps per second.
Implementations§
Auto Trait Implementations§
impl Freeze for AsyncTrainStat
impl RefUnwindSafe for AsyncTrainStat
impl Send for AsyncTrainStat
impl Sync for AsyncTrainStat
impl Unpin for AsyncTrainStat
impl UnwindSafe for AsyncTrainStat
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