(self, x, attn_mask)
| 144 | ) |
| 145 | |
| 146 | def forward(self, x, attn_mask): |
| 147 | attn = self.attn(self.ln1(x),attn_mask) |
| 148 | x = x + attn |
| 149 | x = x + self.mlp(self.ln2(x)) |
| 150 | return x |
| 151 | |
| 152 | class CausalTimeSelfAttention(nn.Module): |
| 153 | def __init__(self, config): |
nothing calls this directly
no outgoing calls
no test coverage detected