Class LibMatrixSparseToDense
java.lang.Object
org.apache.sysds.runtime.matrix.data.LibMatrixSparseToDense
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.commons.logging.Logstatic long -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsparseToDense(MatrixBlock r, int k) Convert the given matrix block to a Dense allocation.
-
Field Details
-
LOG
public static final org.apache.commons.logging.Log LOG -
PAR_THRESHOLD
public static long PAR_THRESHOLD
-
-
Method Details
-
sparseToDense
Convert the given matrix block to a Dense allocation.There is two exceptions:
- Empty input blocks are not modified.
- Calls where the input block is already dense is ignored.
- Parameters:
r- The matrix block to modify, to dense.k- The parallelization degree.
-