pub fn compute_solution<R>(
tensor: &Tensor,
partitioning: &[usize],
communication_scheme: CommunicationScheme,
rng: Option<&mut R>,
) -> (Tensor, ContractionPath, f64, f64)where
R: Rng,Expand description
Given a tensor and a partitioning for it, this constructs the partitioned
tensor and finds a contraction path for it.