-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some missing annotations in
torchtnt/utils/flops.py
(#742)
Summary: Pull Request resolved: #742 Fixed some of the annotation issues : 1. Unused Input -> Convert to _xxx 2. Used Union and cast for variable type 3. Added Generic for Function 4. Fixed a test file which didn't need annotations Reviewed By: galrotem Differential Revision: D54950533 fbshipit-source-id: 550235bf8543e9aea58e00fc3d871079ffa9d39d
- Loading branch information
1 parent
4991725
commit 0bcbd55
Showing
1 changed file
with
22 additions
and
22 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