 decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.  forward  < source > ( sample: FloatTensor sample_posterior: bool = False return_dict: bool = True generator: Optional = None  ) → DecoderOutput or tuple  Parameters   sample (torch.FloatTensor) — Input sample.   sample_posterior (bool, optional, defaults to False) —
Whether to sample from the posterior.   return_di