(module)
| 15 | |
| 16 | |
| 17 | def init_params(module): |
| 18 | if isinstance(module, nn.Linear): |
| 19 | module.weight.data.normal_(mean=0.0, std=0.01) |
| 20 | if module.bias is not None: |
| 21 | module.bias.data.zero_() |
| 22 | |
| 23 | |
| 24 | def seed_everything(seed): |
nothing calls this directly
no outgoing calls
no test coverage detected