(self, hidden_states, deterministic=True)
| 320 | self.downsamplers_0 = FlaxDownsample2D(self.out_channels, dtype=self.dtype) |
| 321 | |
| 322 | def __call__(self, hidden_states, deterministic=True): |
| 323 | for resnet in self.resnets: |
| 324 | hidden_states = resnet(hidden_states, deterministic=deterministic) |
| 325 | |
| 326 | if self.add_downsample: |
| 327 | hidden_states = self.downsamplers_0(hidden_states) |
| 328 | |
| 329 | return hidden_states |
| 330 | |
| 331 | |
| 332 | class FlaxUpDecoderBlock2D(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected