|
Ran
|
Files
120
|
Run time
3s
|
Badge
README BADGES
|
push
github
Corrected the type for the return of make_private function (#759) Summary: Pull Request resolved: https://github.com/pytorch/opacus/pull/759 Previosuly, the return type of `make_private` and `make_private_with_epsilon` was `Tuple[GradSampleModule, DPOptimizer, DataLoader]`, which was correct for hooks mode. When using ghost clipping, it additionally returns `criterion` which results in type checking errors in applications. Added the correct type in this fix. Reviewed By: iden-kalemaj, aparna-aketi Differential Revision: D74597461 fbshipit-source-id: e9cad4cbe
5213 of 6083 relevant lines covered (85.7%)
0.86 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|