Class CLALibReshape
java.lang.Object
org.apache.sysds.runtime.compress.lib.CLALibReshape
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intThe minimum number of rows threshold for returning a compressed output -
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixBlockreshape(CompressedMatrixBlock in, int rows, int cols, boolean rowwise) static MatrixBlockreshape(CompressedMatrixBlock in, int rows, int cols, boolean rowwise, int k)
-
Field Details
-
COMPRESSED_RESHAPE_THRESHOLD
public static int COMPRESSED_RESHAPE_THRESHOLDThe minimum number of rows threshold for returning a compressed output
-
-
Method Details
-
reshape
-
reshape
public static MatrixBlock reshape(CompressedMatrixBlock in, int rows, int cols, boolean rowwise, int k)
-