Function to transform a distribution layer output into a loss function
from_dist_to_loss_torch(family, weights = NULL)
family
see ?deepregression
?deepregression
weights
sample weights
loss function