Struct border_async_trainer::AsyncTrainStat
source · 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 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