pub struct TrainReport {
pub rank: u32,
pub platform: &'static str,
pub metrics: TrainMetrics,
pub params: Vec<(String, Vec<f32>)>,
}Expand description
What a node did in a training run.
Fields§
§rank: u32§platform: &'static str§metrics: TrainMetricsMetrics from the local training loop, including which backends ran.
params: Vec<(String, Vec<f32>)>Final synced parameters, as (name, values).
Trait Implementations§
Source§impl Clone for TrainReport
impl Clone for TrainReport
Auto Trait Implementations§
impl Freeze for TrainReport
impl RefUnwindSafe for TrainReport
impl Send for TrainReport
impl Sync for TrainReport
impl Unpin for TrainReport
impl UnsafeUnpin for TrainReport
impl UnwindSafe for TrainReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more