nsor) — Input sample.   sample_posterior (bool, optional, defaults to False) —
Whether to sample from the posterior.   return_dict (bool, optional, defaults to True) —
Whether or not to return a DecoderOutput instead of a plain tuple.   generator (torch.Generator, optional, defaults to None) —
Generator to use for sampling.   Returns 
DecoderOutput or tuple
  
If return_dict is True, a DecoderOutput is returned, otherwise a plain tuple is retur