(self, x)
| 72 | ) |
| 73 | |
| 74 | def forward(self, x): |
| 75 | for attn, ff in self.layers: |
| 76 | x, _, _ = attn(x) |
| 77 | x = self.norm(x) + x |
| 78 | x = ff(x) + x |
| 79 | return self.norm(x) |
| 80 | |
| 81 | |
| 82 | class OneBitViT(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected