pub struct TrackingConfig {
pub enabled: bool,
pub max_operations: usize,
pub max_snapshots: usize,
pub auto_snapshot: bool,
pub operation_filter: Vec<String>,
}Expand description
Configuration for tensor tracking
Fields§
§enabled: boolWhether tracking is enabled
max_operations: usizeMaximum number of operations to track per tensor
max_snapshots: usizeMaximum number of snapshots to keep per tensor
auto_snapshot: boolWhether to automatically take snapshots after each operation
operation_filter: Vec<String>Operations to filter (empty = track all)
Implementations§
Trait Implementations§
Source§impl Clone for TrackingConfig
impl Clone for TrackingConfig
Source§fn clone(&self) -> TrackingConfig
fn clone(&self) -> TrackingConfig
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 TrackingConfig
impl Debug for TrackingConfig
Auto Trait Implementations§
impl Freeze for TrackingConfig
impl RefUnwindSafe for TrackingConfig
impl Send for TrackingConfig
impl Sync for TrackingConfig
impl Unpin for TrackingConfig
impl UnsafeUnpin for TrackingConfig
impl UnwindSafe for TrackingConfig
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