The output of [`UNetSpatioTemporalConditionModel`]. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_frames, num_channels, height, width)`): The hidden states output conditioned on `encoder_hidden_states` input. Output of last layer of model.
| 19 | |
| 20 | @dataclass |
| 21 | class UNetSpatioTemporalConditionOutput(BaseOutput): |
| 22 | """ |
| 23 | The output of [`UNetSpatioTemporalConditionModel`]. |
| 24 | |
| 25 | Args: |
| 26 | sample (`torch.FloatTensor` of shape `(batch_size, num_frames, num_channels, height, width)`): |
| 27 | The hidden states output conditioned on `encoder_hidden_states` input. Output of last layer of model. |
| 28 | """ |
| 29 | |
| 30 | sample: torch.FloatTensor = None |
| 31 | |
| 32 | |
| 33 | class UNetSpatioTemporalConditionModel(ModelMixin, ConfigMixin, UNet2DConditionLoadersMixin): |