pub fn find_partitioning(
tensor_network: &Tensor,
k: i32,
partitioning_strategy: PartitioningStrategy,
min: bool,
) -> Vec<usize>Expand description
Partitions input tensor network using KaHyPar library.
Returns a Vec<usize> of length equal to the number of input tensors storing final partitioning results.
The usize associated with each Tensor indicates its partionining.
ยงArguments
tensor_network-Tensorto be partitioninedk- imbalance parameter forKaHyParpartition_strategy- The strategy to pass toKaHyParmin- iftrueperformsmin_cutto partition tensor network, iffalse, usesmax_cut