pytorch / opacus

Training PyTorch models with differential privacy
https://opacus.ai
Apache License 2.0
1.67k stars 332 forks source link

Docstring of make_private_with_epsilon is outdated #525

Closed Solosneros closed 1 year ago

Solosneros commented 1 year ago

📚 Documentation

The docstring of make_privacy_with_epsilon is outdated. (E.g., refers to noise_multiplier and seed for noise instead of noise_generator). See https://github.com/pytorch/opacus/blob/a6c2567491f5089cfc9268a90608992acd4ede5d/opacus/privacy_engine.py#L466 https://github.com/pytorch/opacus/blob/a6c2567491f5089cfc9268a90608992acd4ede5d/opacus/privacy_engine.py#L477 I will try to open a PR to fix this.

Solosneros commented 1 year ago

Fixed with #526