-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix signatures of TorchModel.cross_validate (#3398)
Summary: Pull Request resolved: #3398 Some subclasses were missing SSD input, which leads to errors when called from `TorchAdapter` as ``` f_test, cov_test = none_throws(self.model).cross_validate( datasets=datasets, X_test=torch.as_tensor(X_test, dtype=self.dtype, device=self.device), search_space_digest=search_space_digest, use_posterior_predictive=use_posterior_predictive, ) ``` This was something raised by pyre but it was being suppressed. Reviewed By: esantorella Differential Revision: D69951061 fbshipit-source-id: 2199761ea28ae3fbab5e16b68486d8518ae209c7
- Loading branch information
1 parent
f80caac
commit a96cc6f
Showing
4 changed files
with
21 additions
and
8 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
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