pub struct NodeMetricsUpdate {
pub node_id: String,
pub rank: u32,
pub world_size: u32,
pub training_loss: f32,
pub learning_rate: f32,
pub epoch: u32,
pub batch: u32,
}Expand description
Parameters for updating node metrics
Fields§
§node_id: String§rank: u32§world_size: u32§training_loss: f32§learning_rate: f32§epoch: u32§batch: u32Trait Implementations§
Source§impl Clone for NodeMetricsUpdate
impl Clone for NodeMetricsUpdate
Source§fn clone(&self) -> NodeMetricsUpdate
fn clone(&self) -> NodeMetricsUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeMetricsUpdate
impl RefUnwindSafe for NodeMetricsUpdate
impl Send for NodeMetricsUpdate
impl Sync for NodeMetricsUpdate
impl Unpin for NodeMetricsUpdate
impl UnsafeUnpin for NodeMetricsUpdate
impl UnwindSafe for NodeMetricsUpdate
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> 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