| 539 | |
| 540 | |
| 541 | class Encoder(AttentionLayers): |
| 542 | def __init__(self, **kwargs): |
| 543 | assert 'causal' not in kwargs, 'cannot set causality on encoder' |
| 544 | super().__init__(causal=False, **kwargs) |
| 545 | |
| 546 | |
| 547 |
nothing calls this directly
no outgoing calls
no test coverage detected