public abstract class DataPartitioner extends Object
Modifier and Type | Method and Description |
---|---|
MatrixObject |
createPartitionedMatrixObject(MatrixObject in,
MatrixObject out,
boolean force)
Creates a partitioned matrix object based on the given input matrix object,
according to the specified split format.
|
MatrixObject |
createPartitionedMatrixObject(MatrixObject in,
String fnameNew) |
MatrixObject |
createPartitionedMatrixObject(MatrixObject in,
String fnameNew,
boolean force) |
static MatrixBlock |
createReuseMatrixBlock(ParForProgramBlock.PDataPartitionFormat dpf,
int rows,
int cols) |
void |
disableBinaryCell() |
public MatrixObject createPartitionedMatrixObject(MatrixObject in, String fnameNew)
public MatrixObject createPartitionedMatrixObject(MatrixObject in, String fnameNew, boolean force)
public MatrixObject createPartitionedMatrixObject(MatrixObject in, MatrixObject out, boolean force)
in
- input matrix objectout
- output matrix objectforce
- if false, try to optimizepublic void disableBinaryCell()
public static MatrixBlock createReuseMatrixBlock(ParForProgramBlock.PDataPartitionFormat dpf, int rows, int cols)
Copyright © 2020 The Apache Software Foundation. All rights reserved.