diff options
author | Sepehr Sameni <sepehr.sameni@gmail.com> | 2019-04-04 18:07:54 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-04-04 18:11:56 -0700 |
commit | b11a8c6aef1c3bbc0bb034fdcb9cf2ad9c6099d4 (patch) | |
tree | 68cd06c4337fc566778f579a59d923eb92dea1d4 /submodules | |
parent | 814c1df29a168d23a99ed3d7acbc332d9195ed68 (diff) | |
download | pytorch-b11a8c6aef1c3bbc0bb034fdcb9cf2ad9c6099d4.tar.gz pytorch-b11a8c6aef1c3bbc0bb034fdcb9cf2ad9c6099d4.tar.bz2 pytorch-b11a8c6aef1c3bbc0bb034fdcb9cf2ad9c6099d4.zip |
return missing keys from load_state_dict (#18668)
Summary:
return missing_keys and unexpected_keys from load_state_dict so the user can handle them when strict mode is off; also removed an unused variable
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18668
Differential Revision: D14782073
Pulled By: ezyang
fbshipit-source-id: ab3b855eb77bb7422594d971988067e86eef20f2
Diffstat (limited to 'submodules')
0 files changed, 0 insertions, 0 deletions