Method
__init__
(self,
inplanes,
planes,
stride=1,
downsample=None,
conv_cfg=None,
norm_cfg=None)
Source from the content-addressed store, hash-verified
| 24 | expansion = 4 |
| 25 | |
| 26 | def __init__(self, |
| 27 | inplanes, |
| 28 | planes, |
| 29 | stride=1, |
| 30 | downsample=None, |
| 31 | conv_cfg=None, |
| 32 | norm_cfg=None): |
| 33 | |
| 34 | spconv.SparseModule.__init__(self) |
| 35 | Bottleneck.__init__( |
| 36 | self, |
| 37 | inplanes, |
| 38 | planes, |
| 39 | stride=stride, |
| 40 | downsample=downsample, |
| 41 | conv_cfg=conv_cfg, |
| 42 | norm_cfg=norm_cfg) |
| 43 | |
| 44 | def forward(self, x): |
| 45 | identity = x.features |
Tested by
no test coverage detected