Trait dfdx::tensor_ops::TryGt

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

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

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

Required Associated Types§

Required Methods§

source

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

See gt

Provided Methods§

source

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

See gt

Implementors§

source§

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

§

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