def forward(self, x: torch.Tensor) -> torch.Tensor:
        r"""The forward method of the `UpSample` class."""
        x = torch.relu(x)
        x = self.deconv(x)
        return x
The forward method of the `UpSample` class.
src/diffusers/models/autoencoders/vae.py