Method
__init__
(self, num_features, alpha=0.1, eps=1e-05, momentum=0.001, affine=True, track_running_stats=True)
Source from the content-addressed store, hash-verified
| 15 | """How Does BN Increase Collapsed Neural Network Filters? (https://arxiv.org/abs/2001.11216)""" |
| 16 | |
| 17 | def __init__(self, num_features, alpha=0.1, eps=1e-05, momentum=0.001, affine=True, track_running_stats=True): |
| 18 | super().__init__(num_features, eps, momentum, affine, track_running_stats) |
| 19 | self.alpha = alpha |
| 20 | |
| 21 | def forward(self, x): |
| 22 | return super().forward(x) + self.alpha |
Callers
nothing calls this directly
Tested by
no test coverage detected