(m)
| 672 | |
| 673 | |
| 674 | def init_weights(m): |
| 675 | if isinstance(m, nn.Conv1d): |
| 676 | nn.init.trunc_normal_(m.weight, std=0.02) |
| 677 | nn.init.constant_(m.bias, 0) |
| 678 | |
| 679 | |
| 680 | class ResidualUnit(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected