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.
Summary: Enables CrypTen to export to PyTorch models using `to_pytorch()` when initially imported to CrypTen using `from_pytorch()`. This is a simple implementation for now. A more advanced implementation could export without initial `from_pytorch()` import. Also added some additional testing to `test_onnx_converter.py` to compare model exports against the encrypted model output. Reviewed By: karthikprasad Differential Revision: D31938254 fbshipit-source-id: fb8f9c627d3ee77ccff38feed50c3fe9ec58e9a8
- Loading branch information
1 parent
8cc958b
commit 17f9d54
Showing
3 changed files
with
30 additions
and
0 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
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