Class HEParamServer
java.lang.Object
org.apache.sysds.runtime.controlprogram.paramserv.ParamServer
org.apache.sysds.runtime.controlprogram.paramserv.LocalParamServer
org.apache.sysds.runtime.controlprogram.paramserv.HEParamServer
This class implements Homomorphic Encryption (HE) for LocalParamServer. It only supports modelAvg=true.
-
Method Summary
Modifier and TypeMethodDescriptionaggregatePartialPublicKeys(PublicKey[] partial_public_keys) static HEParamServercreate(ListObject model, String aggFunc, Statement.PSUpdateType updateType, Statement.PSFrequency freq, ExecutionContext ec, int workerNum, String valFunc, int numBatchesPerEpoch, MatrixObject valFeatures, MatrixObject valLabels, int nbatches, int numBackupWorkers) byte[]voidpush(int workerID, ListObject encrypted_model) voidregisterThread(int thread_id, FederatedPSControlThread thread) Methods inherited from class org.apache.sysds.runtime.controlprogram.paramserv.LocalParamServer
create, pullMethods inherited from class org.apache.sysds.runtime.controlprogram.paramserv.ParamServer
getAggInst, getNumWorkers, getResult
-
Method Details
-
create
public static HEParamServer 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, int numBackupWorkers) -
registerThread
-
generateA
public byte[] generateA() -
aggregatePartialPublicKeys
-
push
- Overrides:
pushin classLocalParamServer
-