use of com.tencent.angel.ml.psf.compress.QuantifyDoubleParam.QuantifyDoublePartUParam in project angel by Tencent.
the class QuantifyDoubleFunc method partitionUpdate.
@Override
public void partitionUpdate(PartitionUpdateParam partParam) {
RowBasedPartition part = (RowBasedPartition) psContext.getMatrixStorageManager().getPart(partParam.getMatrixId(), partParam.getPartKey().getPartitionId());
if (part != null) {
QuantifyDoublePartUParam cp = (QuantifyDoublePartUParam) partParam;
ServerRow row = part.getRow(cp.getRowId());
if (row != null) {
update(row, cp.getArraySlice());
}
}
}
Aggregations