(self, x, c)
| 39 | ) |
| 40 | |
| 41 | def forward(self, x, c): |
| 42 | shift, scale = self.adaLN_modulation(c).chunk(2, dim=1) |
| 43 | x = modulate(self.norm_final(x), shift, scale) |
| 44 | return x |
| 45 | |
| 46 | class Transformer3DModel(ModelMixin, ConfigMixin): |
| 47 | _supports_gradient_checkpointing = True |
nothing calls this directly
no test coverage detected