| Modifier and Type | Field and Description |
|---|---|
protected ResidualPostProcessor |
EncodingHandler.initialResidualPostProcessor |
protected ResidualPostProcessor |
EncodedGradientsAccumulator.Builder.residualPostProcessor |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<ResidualPostProcessor> |
EncodingHandler.residualPostProcessor |
| Modifier and Type | Method and Description |
|---|---|
EncodedGradientsAccumulator.Builder |
EncodedGradientsAccumulator.Builder.residualPostProcessor(ResidualPostProcessor residualPostProcessor)
Set the residual post processor
|
| Constructor and Description |
|---|
EncodedGradientsAccumulator(int parties,
ThresholdAlgorithm thresholdAlgorithm,
ResidualPostProcessor residualPostProcessor,
boolean encodingDebugMode) |
EncodingHandler(ThresholdAlgorithm thresholdAlgorithm,
ResidualPostProcessor residualPostProcessor,
Integer boundary,
boolean encodingDebugMode) |
| Modifier and Type | Method and Description |
|---|---|
ResidualPostProcessor |
ResidualPostProcessor.clone() |
| Modifier and Type | Class and Description |
|---|---|
class |
NoOpResidualPostProcessor
This residual post process is a "no op" post processor.
|
class |
ResidualClippingPostProcessor
Residual clipping post processor clips the values of a residual every N iterations as follows:
For residual vector R, and C = thresholdMultipleClipValue, T is the current encoding threshold R[i] = C*T if R[i] > C*TR[i] = -C*T if R[i] < -C*TR[i] is unmodified otherwiseNote: Regarding the frequency, a value around 5 is suggested as a good balance between applying frequently enough, and minimizing the computational overhead. |
| Modifier and Type | Method and Description |
|---|---|
ResidualPostProcessor |
NoOpResidualPostProcessor.clone() |
Copyright © 2020. All rights reserved.