Trait dfdx::tensor_ops::TryGe

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

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

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

Required Associated Types§

Required Methods§

source

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

See ge

Provided Methods§

source

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

See ge

Implementors§

source§

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

§

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