r"""The forward method of the `MaskConditionEncoder` class.
(self, x: torch.FloatTensor, mask=None)
| 419 | self.layers = nn.Sequential(*layers) |
| 420 | |
| 421 | def forward(self, x: torch.FloatTensor, mask=None) -> torch.FloatTensor: |
| 422 | r"""The forward method of the `MaskConditionEncoder` class.""" |
| 423 | out = {} |
| 424 | for l in range(len(self.layers)): |
| 425 | layer = self.layers[l] |
| 426 | x = layer(x) |
| 427 | out[str(tuple(x.shape))] = x |
| 428 | x = torch.relu(x) |
| 429 | return out |
| 430 | |
| 431 | |
| 432 | class MaskConditionDecoder(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected