-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
good first issueGood for newcomersGood for newcomersrefactorImproves code itself, but does not fix a bug or add new functionality.Improves code itself, but does not fix a bug or add new functionality.
Description
Whenever possible, we should try to raise exceptions through TORCH_CHECK
instead of throw
in our C++ code-base (follow-up to #535 (comment)).
This may require updates to the Python and C++ tests as well to catch the proper exception type.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersrefactorImproves code itself, but does not fix a bug or add new functionality.Improves code itself, but does not fix a bug or add new functionality.