Trait tc_tensor::TensorCompareConst
source · [−]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
type Compare: TensorInstance
type Compare: TensorInstance
The result of a comparison operation