pub trait TensorCompareConst {
    type Compare: TensorInstance;

    fn eq_const(self, other: Number) -> TCResult<Self::Compare>;
    fn gt_const(self, other: Number) -> TCResult<Self::Compare>;
    fn gte_const(self, other: Number) -> TCResult<Self::Compare>;
    fn lt_const(self, other: Number) -> TCResult<Self::Compare>;
    fn lte_const(self, other: Number) -> TCResult<Self::Compare>;
    fn ne_const(self, other: Number) -> TCResult<Self::Compare>;
}
Expand description

Tensor-constant comparison operations

Required Associated Types

The result of a comparison operation

Required Methods

Element-wise equality

Element-wise greater-than

Element-wise greater-or-equal

Element-wise less-than

Element-wise less-or-equal

Element-wise not-equal

Implementors