(self, x)
| 128 | self.proj = nn.Conv2d(dim, dim, kernel_size=1) |
| 129 | |
| 130 | def forward(self, x): |
| 131 | # normally x: (N, C, H, W) |
| 132 | x = self.proj(x) |
| 133 | for layer in self.layers: |
| 134 | x = layer(x) |
| 135 | return x |
| 136 | |
| 137 | |
| 138 | class MemoryEncoder(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected