forked from facebookresearch/CrypTen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small modifications to crypten.load (facebookresearch#203)
Summary: Pull Request resolved: fairinternal/CrypTen#203 - Modified crypten.load to allow the input `f` to be None. - Added assert to ensure exactly one of `f` or `preloaded` is None - Updated unit tests to ensure preloaded loads correctly. Reviewed By: knottb Differential Revision: D21212000 fbshipit-source-id: 82042e208a3a95328ec5472dba9ce964d8033075
- Loading branch information
1 parent
1aa8ced
commit 1b295d9
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters