Trait tc_tensor::TensorBoolean [−][src]
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.
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