Output of decoding method. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`): The decoded output sample from the last layer of the model.
| 25 | |
| 26 | @dataclass |
| 27 | class DecoderOutput(BaseOutput): |
| 28 | """ |
| 29 | Output of decoding method. |
| 30 | |
| 31 | Args: |
| 32 | sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`): |
| 33 | The decoded output sample from the last layer of the model. |
| 34 | """ |
| 35 | |
| 36 | sample: torch.FloatTensor |
| 37 | |
| 38 | |
| 39 | class Encoder(nn.Module): |