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