pub struct Pair {
pub sized_contraction: SizedContraction,
pub operand_nums: OperandNumPair,
}
Expand description
A single pairwise contraction between two input operands, an input operand and an intermediate result, or two intermediate results.
Fields§
§sized_contraction: SizedContraction
The contraction to be performed
operand_nums: OperandNumPair
Which two tensors to contract
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pair
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnwindSafe for Pair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more