pub struct ProfilingStats {
pub total_time: f64,
pub epoch_times: Vec<f64>,
pub samples_per_sec: f64,
pub batches_per_sec: f64,
pub avg_batch_time: f64,
pub peak_memory_mb: f64,
}Expand description
Performance profiling statistics.
Fields§
§total_time: f64Total training time (seconds).
epoch_times: Vec<f64>Time per epoch (seconds).
samples_per_sec: f64Samples per second.
batches_per_sec: f64Batches per second.
avg_batch_time: f64Average batch time (seconds).
peak_memory_mb: f64Peak memory usage (MB) - placeholder.
Implementations§
Trait Implementations§
Source§impl Clone for ProfilingStats
impl Clone for ProfilingStats
Source§fn clone(&self) -> ProfilingStats
fn clone(&self) -> ProfilingStats
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 moreSource§impl Debug for ProfilingStats
impl Debug for ProfilingStats
Source§impl Default for ProfilingStats
impl Default for ProfilingStats
Source§fn default() -> ProfilingStats
fn default() -> ProfilingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfilingStats
impl RefUnwindSafe for ProfilingStats
impl Send for ProfilingStats
impl Sync for ProfilingStats
impl Unpin for ProfilingStats
impl UnwindSafe for ProfilingStats
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> 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