class_docstr: Base Class from Normalizing flows
  
  Args:
      model_config (BaseNFConfig): The configuration setting the main parameters of the
          model.
docstr: Main inverse pass mapping the prior toward the data
  This function should output a :class:`~pythae.models.base.base_utils.ModelOutput` instance
  gathering all the model outputs
  
  Args:
      inputs (torch.Tensor): Data from the prior.
  
  Returns:
      ModelOutput: A ModelOutput instance providing the outputs of the model.
docstr_tok: ["Main","inverse","pass","mapping","the","prior","toward","the","data","This","function","should","output","a",":","class",":","`","~pythae.models.base.base_utils.ModelOutput","`","instance","gathering","all","the","model","outputs","Args",":","inputs","(","torch.Tensor",")",":","Data","from","the","prior",".","Returns",":","ModelOutput",":","A","ModelOutput","instance","providing","the","outputs","of","the","model","."]
code: def inverse(self, y: torch.Tensor, **kwargs) -> ModelOutput:
      """Main inverse pass mapping the prior toward the data
      This function should output a :class:`~pythae.models.base.base_utils.ModelOutput` instance
      gathering all the model outputs
  
      Args:
          inputs (torch.Tensor): Data from the prior.
  
      Returns:
          ModelOutput: A ModelOutput instance providing the outputs of the model.
      """
      raise NotImplementedError()
  
imports: import os
  import sys
  from copy import deepcopy
  import numpy
  import torch
  import torch.nn
  from ....data.datasets import BaseDataset
  from ...auto_model import AutoConfig
  from ...base.base_config import EnvironmentConfig
  from ...base.base_utils import ModelOutput
  from .base_nf_config import BaseNFConfig
label_desc: Use image node_id 3 for calling the BaseNF obj's underlying member method code with example usage: obj.inverse(y) without return types