pub trait TensorBooleanConst {
    type Combine: TensorInstance;
    type DenseCombine: TensorInstance;

    fn and_const(self, other: Number) -> TCResult<Self::Combine>;
    fn or_const(self, other: Number) -> TCResult<Self::DenseCombine>;
    fn xor_const(self, other: Number) -> TCResult<Self::DenseCombine>;
}
Expand description

Tensor boolean operations in relation to a constant.

Required Associated Types

The return type of a boolean operation.

The return type of a boolean operation with a result expected to be dense.

Required Methods

Logical and

Logical or

Logical xor

Implementors