pub struct BackwardPassStats {
pub total_steps: usize,
pub completed_steps: usize,
pub pending_steps: usize,
pub failed_steps: usize,
pub total_gradient_bytes: usize,
pub participating_peers: usize,
}Expand description
Runtime statistics snapshot for a BackwardPassCoordinator
Fields§
§total_steps: usizeTotal number of scheduled steps
completed_steps: usizeSteps where all peers have been aggregated
pending_steps: usizeSteps still waiting for peer contributions
failed_steps: usizeSteps that have at least one failed peer
total_gradient_bytes: usizeBytes held in the accumulation buffer
participating_peers: usizeNumber of distinct peers registered across all steps
Trait Implementations§
Source§impl Debug for BackwardPassStats
impl Debug for BackwardPassStats
Source§impl Default for BackwardPassStats
impl Default for BackwardPassStats
Source§fn default() -> BackwardPassStats
fn default() -> BackwardPassStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BackwardPassStats
impl RefUnwindSafe for BackwardPassStats
impl Send for BackwardPassStats
impl Sync for BackwardPassStats
impl Unpin for BackwardPassStats
impl UnsafeUnpin for BackwardPassStats
impl UnwindSafe for BackwardPassStats
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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