-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add params and MACs units specifiers (#188)
* Add params and MACs units specifiers * Use enums * Add test case Co-authored-by: Tyler Yep <tyler.yep@robinhood.com>
- Loading branch information
1 parent
0c1ccff
commit 8b3ae72
Showing
15 changed files
with
119 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
========================================================================================== | ||
Layer (type:depth-idx) Output Shape Param # | ||
========================================================================================== | ||
SingleInputNet [16, 10] -- | ||
├─Conv2d: 1-1 [16, 10, 24, 24] 260 | ||
├─Conv2d: 1-2 [16, 20, 8, 8] 5,020 | ||
├─Dropout2d: 1-3 [16, 20, 8, 8] -- | ||
├─Linear: 1-4 [16, 50] 16,050 | ||
├─Linear: 1-5 [16, 10] 510 | ||
========================================================================================== | ||
Total params: 21,840 | ||
Trainable params: 21,840 | ||
Non-trainable params: 0 | ||
Total mult-adds: 7,801,600 | ||
========================================================================================== | ||
Input size (MB): 0.05 | ||
Forward/backward pass size (MB): 0.91 | ||
Params size (MB): 0.09 | ||
Estimated Total Size (MB): 1.05 | ||
========================================================================================== | ||
========================================================================================== | ||
Layer (type:depth-idx) Output Shape Param # | ||
========================================================================================== | ||
SingleInputNet [16, 10] -- | ||
├─Conv2d: 1-1 [16, 10, 24, 24] 260 | ||
├─Conv2d: 1-2 [16, 20, 8, 8] 5,020 | ||
├─Dropout2d: 1-3 [16, 20, 8, 8] -- | ||
├─Linear: 1-4 [16, 50] 16,050 | ||
├─Linear: 1-5 [16, 10] 510 | ||
========================================================================================== | ||
Total params (T): 0.00 | ||
Trainable params (T): 0.00 | ||
Non-trainable params (T): 0 | ||
Total mult-adds (T): 0.00 | ||
========================================================================================== | ||
Input size (MB): 0.05 | ||
Forward/backward pass size (MB): 0.91 | ||
Params size (MB): 0.09 | ||
Estimated Total Size (MB): 1.05 | ||
========================================================================================== |
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
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
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