pub enum EinsumPathSteps<A> {
SingletonContraction(SingletonContraction<A>),
PairContractions(Vec<PairContraction<A>>),
}Expand description
Either a singleton contraction, in the case of a single input operand, or a list of pair contractions, given two or more input operands
Variants§
SingletonContraction(SingletonContraction<A>)
A SingletonContraction consists of some combination of permutation of the input axes,
diagonalization of repeated indices, and summation across axes not present in the output
PairContractions(Vec<PairContraction<A>>)
Each PairContraction consists of a possible simplification of each of the two input tensors followed
by a contraction of the two simplified tensors. The two simplified tensors can be combined in a
number of fashions.
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for EinsumPathSteps<A>
impl<A> !RefUnwindSafe for EinsumPathSteps<A>
impl<A> !Send for EinsumPathSteps<A>
impl<A> !Sync for EinsumPathSteps<A>
impl<A> Unpin for EinsumPathSteps<A>
impl<A> !UnwindSafe for EinsumPathSteps<A>
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