Class CLALibSquash
- java.lang.Object
-
- org.apache.sysds.runtime.compress.lib.CLALibSquash
-
public final class CLALibSquash extends Object
Squash or recompress is processing each column group and trying to find a better compressed representation for each.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompressedMatrixBlock
squash(CompressedMatrixBlock m, int k)
Squash or recompress is process each column group in the given Compressed Matrix Block and tries to recompress each column.
-
-
-
Method Detail
-
squash
public static CompressedMatrixBlock squash(CompressedMatrixBlock m, int k)
Squash or recompress is process each column group in the given Compressed Matrix Block and tries to recompress each column.- Parameters:
m
- The input compressed matrixk
- The parallelization degree allowed in this process- Returns:
- A replaced Compressed Matrix Block, note the old block is also modified
-
-