(self, x: Tensor, att_weights: Tensor = None)
| 125 | self.apply1 = ApplyVectorWeights() if apply_att_weights else IdentityMod() |
| 126 | |
| 127 | def forward(self, x: Tensor, att_weights: Tensor = None) -> Tensor: |
| 128 | x = self.model(x) |
| 129 | return self.apply1(x=x, weights=att_weights) |
| 130 | |
| 131 | class ApertureAwareAttention(nn.Module): |
| 132 |
nothing calls this directly
no outgoing calls
no test coverage detected