Trait dfdx::tensor_ops::TryNe

source ·
pub trait TryNe<Rhs>: HasErr {
    type Output;

    // Required method
    fn try_ne(&self, rhs: Rhs) -> Result<Self::Output, Self::Err>;

    // Provided method
    fn ne(&self, rhs: Rhs) -> Self::Output { ... }
}

Required Associated Types§

Required Methods§

source

fn try_ne(&self, rhs: Rhs) -> Result<Self::Output, Self::Err>

See ne

Provided Methods§

source

fn ne(&self, rhs: Rhs) -> Self::Output

See ne

Implementors§

source§

impl<S: Shape, E, D: CmpKernel<NeKernelOp, E>, T: Tape<E, D>> TryNe<&Tensor<S, E, D, T>> for Tensor<S, E, D, T>

§

type Output = Tensor<S, bool, D, NoneTape>

source§

impl<S: Shape, E, D: ScalarCmpKernel<NeKernelOp, E>, T: Tape<E, D>> TryNe<E> for Tensor<S, E, D, T>

§

type Output = Tensor<S, bool, D, NoneTape>