pub enum DiffResult {
Show 15 variants
Added(String, Value),
Removed(String, Value),
Modified(String, Value, Value),
TypeChanged(String, Value, Value),
TensorShapeChanged(String, Vec<usize>, Vec<usize>),
TensorStatsChanged(String, TensorStats, TensorStats),
TensorDataChanged(String, f64, f64),
ModelArchitectureChanged(String, String, String),
WeightSignificantChange(String, f64),
ActivationFunctionChanged(String, String, String),
LearningRateChanged(String, f64, f64),
OptimizerChanged(String, String, String),
LossChange(String, f64, f64),
AccuracyChange(String, f64, f64),
ModelVersionChanged(String, String, String),
}Variants§
Added(String, Value)
Removed(String, Value)
Modified(String, Value, Value)
TypeChanged(String, Value, Value)
TensorShapeChanged(String, Vec<usize>, Vec<usize>)
TensorStatsChanged(String, TensorStats, TensorStats)
TensorDataChanged(String, f64, f64)
ModelArchitectureChanged(String, String, String)
WeightSignificantChange(String, f64)
ActivationFunctionChanged(String, String, String)
LearningRateChanged(String, f64, f64)
OptimizerChanged(String, String, String)
LossChange(String, f64, f64)
AccuracyChange(String, f64, f64)
ModelVersionChanged(String, String, String)
Trait Implementations§
Source§impl Debug for DiffResult
impl Debug for DiffResult
Source§impl From<DiffResult> for DiffResult
impl From<DiffResult> for DiffResult
Source§fn from(result: DiffResult) -> Self
fn from(result: DiffResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiffResult
impl PartialEq for DiffResult
Source§impl Serialize for DiffResult
impl Serialize for DiffResult
impl StructuralPartialEq for DiffResult
Auto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnwindSafe for DiffResult
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