(self)
| 1345 | return None |
| 1346 | |
| 1347 | def reset(self): |
| 1348 | for layer_idx in range(len(self.key_cache)): |
| 1349 | # In-place ops prevent breaking the static address |
| 1350 | self.key_cache[layer_idx].zero_() |
| 1351 | self.value_cache[layer_idx].zero_() |
| 1352 | |
| 1353 | |
| 1354 | class EncoderDecoderCache(Cache): |
nothing calls this directly
no outgoing calls
no test coverage detected