Closed frgfm closed 4 years ago
Merging #21 into master will increase coverage by
0.36%
. The diff coverage is93.22%
.
@@ Coverage Diff @@
## master #21 +/- ##
==========================================
+ Coverage 89.10% 89.46% +0.36%
==========================================
Files 8 9 +1
Lines 468 522 +54
==========================================
+ Hits 417 467 +50
- Misses 51 55 +4
Impacted Files | Coverage Δ | |
---|---|---|
torchscan/utils.py | 67.39% <70.00%> (-0.47%) |
:arrow_down: |
torchscan/crawler.py | 81.90% <93.75%> (+1.46%) |
:arrow_up: |
torchscan/modules/__init__.py | 100.00% <100.00%> (ø) |
|
torchscan/modules/receptive.py | 100.00% <100.00%> (ø) |
As suggested in #12, this PR adds support for receptive field estimation by:
max_depth
attributesummary
function, which adds the receptive field information to the console summary (default:False
)Here are a few samples:
yields
and using max_depth option:
Note: this feature is experimental and only supports highway nets for now (i.e. models with multiple branches or residual connections are not correctly supported in this PR)