def __init__(
        self,
        likelihood_type: LikelihoodType,
        parameter_names: list[str],
        prior_strength=1.0,
    ):
        """Abstract class for torch likelihood models.

        Parameters
        ----------
        likelihood_type
            A pre-defined `LikelihoodType`.
        parameter_names
            The likelihood (distribution) parameter names.
        prior_strength
            strength of the loss regularisation induced by the prior
        """
        self.prior_strength = prior_strength
        super().__init__(
            likelihood_type=likelihood_type,
            parameter_names=parameter_names,
        )
Abstract class for torch likelihood models.

        Parameters
        ----------
        likelihood_type
            A pre-defined `LikelihoodType`.
        parameter_names
            The likelihood (distribution) parameter names.
        prior_strength
            strength of the loss regularisation induced by the prior
        
darts/utils/likelihood_models/torch.py