public class LocalParamServer extends ParamServer
Constructor and Description |
---|
LocalParamServer() |
Modifier and Type | Method and Description |
---|---|
static LocalParamServer |
create(ListObject model,
String aggFunc,
Statement.PSUpdateType updateType,
Statement.PSFrequency freq,
ExecutionContext ec,
int workerNum,
String valFunc,
int numBatchesPerEpoch,
MatrixObject valFeatures,
MatrixObject valLabels) |
ListObject |
pull(int workerID) |
void |
push(int workerID,
ListObject gradients) |
getAggInst, getResult
public static LocalParamServer create(ListObject model, String aggFunc, Statement.PSUpdateType updateType, Statement.PSFrequency freq, ExecutionContext ec, int workerNum, String valFunc, int numBatchesPerEpoch, MatrixObject valFeatures, MatrixObject valLabels)
public void push(int workerID, ListObject gradients)
push
in class ParamServer
public ListObject pull(int workerID)
pull
in class ParamServer
Copyright © 2021 The Apache Software Foundation. All rights reserved.