pytorch / opacus

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

Change register_backward_hook to register_full_backward_hook #653

Open HuanyuZhang opened 5 months ago

HuanyuZhang commented 5 months ago

Summary: register_backward_hook is getting deprecated so we merge it to register_full_backward_hook

Differential Revision: D48725761

facebook-github-bot commented 5 months ago

This pull request was exported from Phabricator. Differential Revision: D48725761