(m)
| 15 | |
| 16 | def make_net(dims): |
| 17 | def init_weights_normal(m): |
| 18 | if type(m) == nn.Linear: |
| 19 | if hasattr(m, "weight"): |
| 20 | nn.init.kaiming_normal_( |
| 21 | m.weight, a=0.0, nonlinearity="relu", mode="fan_in" |
| 22 | ) |
| 23 | |
| 24 | layers = [] |
| 25 | for i in range(len(dims) - 1): |
nothing calls this directly
no outgoing calls
no test coverage detected