(block, n_layers)
| 25 | |
| 26 | |
| 27 | def make_layer(block, n_layers): |
| 28 | layers = [] |
| 29 | for _ in range(n_layers): |
| 30 | layers.append(block()) |
| 31 | return nn.Sequential(*layers) |
| 32 | |
| 33 | |
| 34 | class ResidualBlock_noBN(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected