pub struct ShardStepResult {
pub partial_output: Vec<f32>,
pub loss: f32,
pub grad_norm: f32,
pub samples: usize,
}Fields§
§partial_output: Vec<f32>§loss: f32§grad_norm: f32§samples: usizeTrait Implementations§
Source§impl Clone for ShardStepResult
impl Clone for ShardStepResult
Source§fn clone(&self) -> ShardStepResult
fn clone(&self) -> ShardStepResult
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 ShardStepResult
impl Debug for ShardStepResult
Source§impl Default for ShardStepResult
impl Default for ShardStepResult
Source§fn default() -> ShardStepResult
fn default() -> ShardStepResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShardStepResult
impl RefUnwindSafe for ShardStepResult
impl Send for ShardStepResult
impl Sync for ShardStepResult
impl Unpin for ShardStepResult
impl UnsafeUnpin for ShardStepResult
impl UnwindSafe for ShardStepResult
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