pub enum CommunicationProtocol {
Synchronous,
Asynchronous,
ParameterServer,
}Expand description
Communication protocol for distributed training
Variants§
Synchronous
Synchronous: all workers synchronize at each iteration
Asynchronous
Asynchronous: workers update shared state independently
ParameterServer
Parameter server: centralized parameter management
Trait Implementations§
Source§impl Clone for CommunicationProtocol
impl Clone for CommunicationProtocol
Source§fn clone(&self) -> CommunicationProtocol
fn clone(&self) -> CommunicationProtocol
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 Debug for CommunicationProtocol
impl Debug for CommunicationProtocol
Source§impl Default for CommunicationProtocol
impl Default for CommunicationProtocol
Source§fn default() -> CommunicationProtocol
fn default() -> CommunicationProtocol
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommunicationProtocol
impl PartialEq for CommunicationProtocol
impl StructuralPartialEq for CommunicationProtocol
Auto Trait Implementations§
impl Freeze for CommunicationProtocol
impl RefUnwindSafe for CommunicationProtocol
impl Send for CommunicationProtocol
impl Sync for CommunicationProtocol
impl Unpin for CommunicationProtocol
impl UnsafeUnpin for CommunicationProtocol
impl UnwindSafe for CommunicationProtocol
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