pub struct ContractionPath {
pub steps: Vec<ContractionStep>,
pub naive_flops: u128,
pub optimized_flops: u128,
pub largest_intermediate: u128,
}Expand description
Describes an ordered contraction.
Fields§
§steps: Vec<ContractionStep>Steps in execution order.
naive_flops: u128Cost of evaluating every operand in one expression.
optimized_flops: u128Sum of the selected step costs.
largest_intermediate: u128Largest intermediate element count.
Trait Implementations§
Source§impl Clone for ContractionPath
impl Clone for ContractionPath
Source§fn clone(&self) -> ContractionPath
fn clone(&self) -> ContractionPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContractionPath
impl Debug for ContractionPath
impl Eq for ContractionPath
Source§impl PartialEq for ContractionPath
impl PartialEq for ContractionPath
impl StructuralPartialEq for ContractionPath
Auto Trait Implementations§
impl Freeze for ContractionPath
impl RefUnwindSafe for ContractionPath
impl Send for ContractionPath
impl Sync for ContractionPath
impl Unpin for ContractionPath
impl UnsafeUnpin for ContractionPath
impl UnwindSafe for ContractionPath
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