Utils¶
- opacus.accountants.utils.get_noise_multiplier(*, target_epsilon, target_delta, sample_rate, epochs=None, steps=None, accountant='rdp', epsilon_tolerance=0.01, **kwargs)[source]¶
Computes the noise level sigma to reach a total budget of (target_epsilon, target_delta) at the end of epochs, with a given sample_rate
- Parameters:
- Return type:
- Returns:
The noise level sigma to ensure privacy budget of (target_epsilon, target_delta)