(self, x, pos, cond)
| 514 | self.ff = FeedForwardBlock(d_model, d_ff, cond_features, dropout=dropout) |
| 515 | |
| 516 | def forward(self, x, pos, cond): |
| 517 | x = checkpoint(self.self_attn, x, pos, cond) |
| 518 | x = checkpoint(self.ff, x, cond) |
| 519 | return x |
| 520 | |
| 521 | class NeighborhoodTransformerLayer(nn.Module): |
| 522 | def __init__(self, d_model, d_ff, d_head, cond_features, kernel_size, dropout=0.0): |
nothing calls this directly
no test coverage detected