(self, p=0.1)
| 111 | """Randomly set a fraction of `p` inputs to 0 at each training update.""" |
| 112 | |
| 113 | def __init__(self, p=0.1): |
| 114 | self.p = p |
| 115 | self._mask = None |
| 116 | |
| 117 | def forward_pass(self, X): |
| 118 | assert self.p > 0 |
nothing calls this directly
no outgoing calls
no test coverage detected