Extended module support and experimental receptive field computation
This release adds support of more modules by the crawler and enables receptive field computation for highway nets.
Note: torchscan 0.1.1 requires PyTorch 1.1 or newer.
Highlights
Modules
In-hook information extraction for supported torch.nn.Module
New
- Add experimental support of receptive field estimation for the following
torch.nn.Module
:Identity
,Linear
,Identity
,ReLU
,ELU
,LeakyReLU
,ReLU6
,Tanh
,Sigmoid
,_ConvTransposeNd
,_ConvNd
,_BatchNorm
,_MaxPoolNd
,_AvgPoolNd
,_AdaptiveMaxPoolNd
,_AdaptiveAvgPoolNd
,Dropout
(#21).
Fixes
- Fixed transposed convolutions identification (#14)
- Fixed flops, macs & dmas estimation for pooling operations (#19, #20)
## Crawler
Module hooking agent
New
- Added an experimental feature
receptive_field
in thesummary
function (#21)
Test
Verifications of the package well-being before release
New
- Updated test for
torchscan.modules
(#21)
Documentation
Online resources for potential users
Improvements
Fixes
- Fixed documentation deployment (#16)
Others
Other tools and implementations