Trait tc_tensor::TensorCompare [−][src]
pub trait TensorCompare<O> { type Compare: TensorInstance; type Dense: TensorInstance; fn eq(self, other: O) -> TCResult<Self::Dense>; fn gt(self, other: O) -> TCResult<Self::Compare>; fn gte(self, other: O) -> TCResult<Self::Dense>; fn lt(self, other: O) -> TCResult<Self::Compare>; fn lte(self, other: O) -> TCResult<Self::Dense>; fn ne(self, other: O) -> TCResult<Self::Compare>; }
Expand description
Tensor comparison operations
Associated Types
type Compare: TensorInstance
type Compare: TensorInstance
The result of a comparison operation
type Dense: TensorInstance
type Dense: TensorInstance
The result of a comparison operation which can only return a dense Tensor