pub enum WorkerTimingPhase {
Forward,
Backward,
}Expand description
Phase discriminant for TrainingEvent::WorkerTiming.
Distinguishes whether timing was captured during forward or backward pass.
Variants§
Forward
Timing captured from the forward-pass parallel region.
Backward
Timing captured from the backward-pass parallel region.
Trait Implementations§
Source§impl Clone for WorkerTimingPhase
impl Clone for WorkerTimingPhase
Source§fn clone(&self) -> WorkerTimingPhase
fn clone(&self) -> WorkerTimingPhase
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 WorkerTimingPhase
impl RefUnwindSafe for WorkerTimingPhase
impl Send for WorkerTimingPhase
impl Sync for WorkerTimingPhase
impl Unpin for WorkerTimingPhase
impl UnsafeUnpin for WorkerTimingPhase
impl UnwindSafe for WorkerTimingPhase
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