(module, constant, bias=0)
| 17 | |
| 18 | |
| 19 | def constant_init(module, constant, bias=0): |
| 20 | nn.init.constant_(module.weight, constant) |
| 21 | if hasattr(module, 'bias'): |
| 22 | nn.init.constant_(module.bias, bias) |
| 23 | |
| 24 | |
| 25 | def conv3x3(in_planes, out_planes, stride=1): |
no outgoing calls
no test coverage detected
searching dependent graphs…