(self)
| 73 | |
| 74 | class LockedDropout(nn.Module): |
| 75 | def __init__(self): |
| 76 | super(LockedDropout, self).__init__() |
| 77 | |
| 78 | def forward(self, x, dropout=0.5): |
| 79 | if not self.training or not dropout: |
nothing calls this directly
no outgoing calls
no test coverage detected