atefeh-asayesh commented on a change in pull request #1336:
URL: https://github.com/apache/systemds/pull/1336#discussion_r676048091



##########
File path: 
src/main/java/org/apache/sysds/runtime/instructions/cp/ParamservBuiltinCPInstruction.java
##########
@@ -468,21 +458,21 @@ private int getWorkerNum(PSModeType mode) {
         * @return parameter server
         */
        private static ParamServer createPS(PSModeType mode, String aggFunc, 
PSUpdateType updateType,
-               PSFrequency freq, int workerNum, ListObject model, 
ExecutionContext ec)
+               PSFrequency freq, int workerNum, ListObject model, 
ExecutionContext ec,boolean modelAvg)
        {
-               return createPS(mode, aggFunc, updateType, freq, workerNum, 
model, ec, null, -1, null, null);
+               return createPS(mode, aggFunc, updateType, freq, workerNum, 
model, ec, null, -1, null, null,modelAvg );
        }
 
        // When this creation is used the parameter server is able to validate 
after each epoch
        private static ParamServer createPS(PSModeType mode, String aggFunc, 
PSUpdateType updateType,
                PSFrequency freq, int workerNum, ListObject model, 
ExecutionContext ec, String valFunc,
-               int numBatchesPerEpoch, MatrixObject valFeatures, MatrixObject 
valLabels)
+               int numBatchesPerEpoch, MatrixObject valFeatures, MatrixObject 
valLabels,boolean modelAvg)

Review comment:
       formatting is fixed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to