-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subclass PredictUnit in AutoUnit (#545)
Summary: Pull Request resolved: #545 # Context Currently if users want to train, eval, and predict all in one script, they must transfer their modules from AutoUnit to AutoPredictUnit, which is unintuitive and can be error prone # This diff We subclass in PredictUnit in AutoUnit, which allows users to use the existing predict_step, or override it, when calling `predict` Reviewed By: galrotem Differential Revision: D49441091 fbshipit-source-id: dbf744ae2841c41b8a2ddaa1558147c09fc75889
- Loading branch information
1 parent
df2768f
commit 0b926c3
Showing
2 changed files
with
119 additions
and
4 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