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