Trait dfdx::tensor_ops::TryLt

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

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

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

Required Associated Types§

Required Methods§

source

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

See lt

Provided Methods§

source

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

See lt

Implementors§

source§

impl<S: Shape, E, D: CmpKernel<LtKernelOp, E>, T: Tape<E, D>> TryLt<&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<LtKernelOp, E>, T: Tape<E, D>> TryLt<E> for Tensor<S, E, D, T>

§

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