pub struct ContractionStep {
pub operands: Vec<usize>,
pub subscripts: String,
pub flops: u128,
pub gemm: bool,
}Expand description
Describes one contraction step.
Fields§
§operands: Vec<usize>Indices into the operand list as it exists before this step.
subscripts: StringFully resolved input and output labels for this step.
flops: u128Cost assigned by the contraction model.
gemm: boolWhether execution uses ndarray matrix multiplication for this step.
Trait Implementations§
Source§impl Clone for ContractionStep
impl Clone for ContractionStep
Source§fn clone(&self) -> ContractionStep
fn clone(&self) -> ContractionStep
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 ContractionStep
impl Debug for ContractionStep
impl Eq for ContractionStep
Source§impl PartialEq for ContractionStep
impl PartialEq for ContractionStep
impl StructuralPartialEq for ContractionStep
Auto Trait Implementations§
impl Freeze for ContractionStep
impl RefUnwindSafe for ContractionStep
impl Send for ContractionStep
impl Sync for ContractionStep
impl Unpin for ContractionStep
impl UnsafeUnpin for ContractionStep
impl UnwindSafe for ContractionStep
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