pub struct NabMath;
Expand description
Mathematical functions for NDArray
Implementations§
Source§impl NabMath
impl NabMath
Sourcepub fn sigmoid_derivative(x: &NDArray) -> NDArray
pub fn sigmoid_derivative(x: &NDArray) -> NDArray
Sourcepub fn tanh_derivative(x: &NDArray) -> NDArray
pub fn tanh_derivative(x: &NDArray) -> NDArray
Sourcepub fn relu_derivative(x: &NDArray) -> NDArray
pub fn relu_derivative(x: &NDArray) -> NDArray
Sourcepub fn softmax_derivative(x: &NDArray) -> NDArray
pub fn softmax_derivative(x: &NDArray) -> NDArray
Auto Trait Implementations§
impl Freeze for NabMath
impl RefUnwindSafe for NabMath
impl Send for NabMath
impl Sync for NabMath
impl Unpin for NabMath
impl UnwindSafe for NabMath
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