(tensor)
| 25 | def init_method_normal(sigma): |
| 26 | """Init method based on N(0, sigma).""" |
| 27 | def init_(tensor): |
| 28 | return torch.nn.init.normal_(tensor, mean=0.0, std=sigma) |
| 29 | |
| 30 | return init_ |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected