(self, hidden_states)
| 351 | return not should_calc |
| 352 | |
| 353 | def store(self, hidden_states): |
| 354 | self.previous_residual = hidden_states - self.previous_hidden_states |
| 355 | self.previous_hidden_states = None |
| 356 | |
| 357 | def update(self, hidden_states): |
| 358 | hidden_states = hidden_states + self.previous_residual |
no outgoing calls
no test coverage detected