r""" Output of decoding method. Args: sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`): The decoded output sample from the last layer of the model.
| 32 | |
| 33 | @dataclass |
| 34 | class DecoderOutput(BaseOutput): |
| 35 | r""" |
| 36 | Output of decoding method. |
| 37 | |
| 38 | Args: |
| 39 | sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`): |
| 40 | The decoded output sample from the last layer of the model. |
| 41 | """ |
| 42 | |
| 43 | sample: torch.Tensor |
| 44 | commit_loss: Optional[torch.FloatTensor] = None |
| 45 | |
| 46 | |
| 47 | class Encoder(nn.Module): |
no outgoing calls
no test coverage detected