(self, x)
| 56 | pe = pe.repeat(1, repeat_num, 1) |
| 57 | self.register_buffer('pe', pe) |
| 58 | def forward(self, x): |
| 59 | x = x + self.pe[:, :x.size(1), :] |
| 60 | return self.dropout(x) |
| 61 | |
| 62 | class Faceformer(nn.Module): |
| 63 | def __init__(self, args): |
nothing calls this directly
no outgoing calls
no test coverage detected