Trait tc_tensor::TensorBoolean
source · 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§
sourcetype Combine: TensorInstance
type Combine: TensorInstance
The result type of a boolean operation.
sourcetype LeftCombine: TensorInstance
type LeftCombine: TensorInstance
The result type of a boolean operation which may ignore right-hand values.
Required Methods§
sourcefn and(self, other: O) -> TCResult<Self::LeftCombine>
fn and(self, other: O) -> TCResult<Self::LeftCombine>
Logical and