The output of [`UNet2DModel`]. Args: sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`): The hidden states output from the last layer of the model.
| 26 | |
| 27 | @dataclass |
| 28 | class UNet2DOutput(BaseOutput): |
| 29 | """ |
| 30 | The output of [`UNet2DModel`]. |
| 31 | |
| 32 | Args: |
| 33 | sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`): |
| 34 | The hidden states output from the last layer of the model. |
| 35 | """ |
| 36 | |
| 37 | sample: torch.Tensor |
| 38 | |
| 39 | |
| 40 | class UNet2DModel(ModelMixin, ConfigMixin): |