(self, hidden_states)
| 1077 | self.downsamplers = None |
| 1078 | |
| 1079 | def forward(self, hidden_states): |
| 1080 | for resnet in self.resnets: |
| 1081 | hidden_states = resnet(hidden_states, temb=None) |
| 1082 | |
| 1083 | if self.downsamplers is not None: |
| 1084 | for downsampler in self.downsamplers: |
| 1085 | hidden_states = downsampler(hidden_states) |
| 1086 | |
| 1087 | return hidden_states |
| 1088 | |
| 1089 | |
| 1090 | class AttnDownEncoderBlock2D(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected