Class LocalParamServer
java.lang.Object
org.apache.sysds.runtime.controlprogram.paramserv.ParamServer
org.apache.sysds.runtime.controlprogram.paramserv.LocalParamServer
- Direct Known Subclasses:
HEParamServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalParamServercreate(ListObject model, String aggFunc, Statement.PSUpdateType updateType, Statement.PSFrequency freq, ExecutionContext ec, int workerNum, String valFunc, int numBatchesPerEpoch, MatrixObject valFeatures, MatrixObject valLabels, int nbatches, boolean modelAvg, int numBackupWorkers) pull(int workerID) voidpush(int workerID, ListObject gradients) Methods inherited from class org.apache.sysds.runtime.controlprogram.paramserv.ParamServer
getAggInst, getNumWorkers, getResult
-
Constructor Details
-
LocalParamServer
public LocalParamServer()
-
-
Method Details
-
create
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, int nbatches, boolean modelAvg, int numBackupWorkers) -
push
- Specified by:
pushin classParamServer
-
pull
- Specified by:
pullin classParamServer
-