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