(m)
| 37 | |
| 38 | |
| 39 | def init_weights_uniform(m): |
| 40 | if type(m) == nn.Linear: |
| 41 | if hasattr(m, 'weight'): |
| 42 | torch.nn.init.kaiming_uniform_(m.weight, nonlinearity='relu') |
| 43 | |
| 44 | |
| 45 | def sine_init(m, w0=30): |
nothing calls this directly
no outgoing calls
no test coverage detected