pub struct GraphFreezingStats {
pub nodes_before: usize,
pub nodes_after: usize,
pub constants_folded: usize,
pub training_ops_removed: usize,
pub dead_nodes_removed: usize,
pub memory_savings: usize,
}Expand description
Statistics from graph freezing optimization
Fields§
§nodes_before: usizeNumber of nodes before optimization
nodes_after: usizeNumber of nodes after optimization
constants_folded: usizeNumber of constants folded
training_ops_removed: usizeNumber of training ops removed
dead_nodes_removed: usizeNumber of dead nodes removed
memory_savings: usizeEstimated memory savings (bytes)
Trait Implementations§
Source§impl Clone for GraphFreezingStats
impl Clone for GraphFreezingStats
Auto Trait Implementations§
impl Freeze for GraphFreezingStats
impl RefUnwindSafe for GraphFreezingStats
impl Send for GraphFreezingStats
impl Sync for GraphFreezingStats
impl Unpin for GraphFreezingStats
impl UnsafeUnpin for GraphFreezingStats
impl UnwindSafe for GraphFreezingStats
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