Trait dfdx::tensor_ops::TryLe

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

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

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

Required Associated Types§

Required Methods§

source

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

See le

Provided Methods§

source

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

See le

Implementors§

source§

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

§

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