Trait tc_collection::tensor::TensorCompareConst
source · pub trait TensorCompareConst {
type Compare: TensorInstance;
// Required methods
fn eq_const(self, other: Number) -> TCResult<Self::Compare>;
fn gt_const(self, other: Number) -> TCResult<Self::Compare>;
fn ge_const(self, other: Number) -> TCResult<Self::Compare>;
fn lt_const(self, other: Number) -> TCResult<Self::Compare>;
fn le_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§
sourcetype Compare: TensorInstance
type Compare: TensorInstance
The result of a comparison operation