pub struct DistributedStats<T: FloatBounds> {
pub communication_time_ms: Vec<f64>,
pub computation_time_ms: Vec<f64>,
pub gradient_norms_before: Vec<T>,
pub gradient_norms_after: Vec<T>,
pub memory_usage_mb: Vec<f64>,
pub load_balance_efficiency: Vec<f64>,
}Expand description
Statistics for distributed training
Fields§
§communication_time_ms: Vec<f64>Communication time per step
computation_time_ms: Vec<f64>Computation time per step
gradient_norms_before: Vec<T>Gradient norm before synchronization
gradient_norms_after: Vec<T>Gradient norm after synchronization
memory_usage_mb: Vec<f64>Memory usage per worker
load_balance_efficiency: Vec<f64>Load balancing efficiency
Trait Implementations§
Source§impl<T: Clone + FloatBounds> Clone for DistributedStats<T>
impl<T: Clone + FloatBounds> Clone for DistributedStats<T>
Source§fn clone(&self) -> DistributedStats<T>
fn clone(&self) -> DistributedStats<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug + FloatBounds> Debug for DistributedStats<T>
impl<T: Debug + FloatBounds> Debug for DistributedStats<T>
Source§impl<T: Default + FloatBounds> Default for DistributedStats<T>
impl<T: Default + FloatBounds> Default for DistributedStats<T>
Source§fn default() -> DistributedStats<T>
fn default() -> DistributedStats<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for DistributedStats<T>
impl<T> RefUnwindSafe for DistributedStats<T>where
T: RefUnwindSafe,
impl<T> Send for DistributedStats<T>
impl<T> Sync for DistributedStats<T>
impl<T> Unpin for DistributedStats<T>where
T: Unpin,
impl<T> UnsafeUnpin for DistributedStats<T>
impl<T> UnwindSafe for DistributedStats<T>where
T: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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