pub trait TensorBoolean<O> {
    type Combine: TensorInstance;
    type LeftCombine: TensorInstance;

    fn and(self, other: O) -> TCResult<Self::LeftCombine>;
    fn or(self, other: O) -> TCResult<Self::Combine>;
    fn xor(self, other: O) -> TCResult<Self::Combine>;
}
Expand description

Tensor boolean operations.

Required Associated Types

The result type of a boolean operation.

The result type of a boolean operation which may ignore right-hand values.

Required Methods

Logical and

Logical or

Logical xor

Implementors