pub struct IntegratedGradients { /* private fields */ }Expand description
Integrated Gradients for neural network attribution.
Computes attributions by integrating gradients along a path from a baseline to the input.
IG_i(x) = (x_i - x'_i) * ∫ (∂F(x' + α(x-x')) / ∂x_i) dαwhere x’ is a baseline (typically zeros).
§References
- Sundararajan, M., et al. (2017). Axiomatic Attribution for Deep Networks.
Implementations§
Source§impl IntegratedGradients
impl IntegratedGradients
Trait Implementations§
Source§impl Debug for IntegratedGradients
impl Debug for IntegratedGradients
Source§impl Default for IntegratedGradients
impl Default for IntegratedGradients
Source§fn default() -> IntegratedGradients
fn default() -> IntegratedGradients
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IntegratedGradients
impl RefUnwindSafe for IntegratedGradients
impl Send for IntegratedGradients
impl Sync for IntegratedGradients
impl Unpin for IntegratedGradients
impl UnsafeUnpin for IntegratedGradients
impl UnwindSafe for IntegratedGradients
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> 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