def METHOD_NAME(self, inputs: torch.Tensor) -> torch.Tensor:
    """This method computes the probability of the inputs when
    transformation/transformations are applied.
    Parameters
    ----------
    inputs: torch.Tensor
        Tensor used to evaluate the log_prob computation of the learned
        distribution.
        shape: (samples, dim)
    Returns
    -------
    log_prob: torch.Tensor
        This tensor contains the value of the log probability computed.
        shape: (samples)
    """
    METHOD_NAME = torch.zeros(inputs.shape[0])
    for biject in reversed(self.transforms):
        inputs, inverse_log_det_jacobian = biject.inverse(inputs)
        METHOD_NAME += inverse_log_det_jacobian
    return METHOD_NAME