(self, x, c)
| 142 | ) |
| 143 | |
| 144 | def forward(self, x, c): |
| 145 | shift, scale = self.adaLN_modulation(c).chunk(2, dim=-1) |
| 146 | x = modulate(self.norm_final(x), shift, scale) |
| 147 | x = self.linear(x) |
| 148 | return x |
| 149 | |
| 150 | |
| 151 | class SimpleMLPAdaLN(nn.Module): |
nothing calls this directly
no test coverage detected