pytorch
87238e64 - [nn] add remove_duplicate flag to named_parameters (#759) (#88090)

Commit
3 years ago
[nn] add remove_duplicate flag to named_parameters (#759) (#88090) Summary: X-link: https://github.com/pytorch/torchrec/pull/759 Since the remove_duplicate flag was added to named_buffers in D39493161 (https://github.com/pytorch/pytorch/commit/c12f829cce29eb6971094a9bbb0f8971aed86f5c), this adds the same flag to named_parameters Test Plan: python test/test_nn.py -k test_buffers_and_named_buffers OSS Tests Differential Revision: D40801899 Pull Request resolved: https://github.com/pytorch/pytorch/pull/88090 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading