zfit.loss.
experimental_enable_loss_penalty
EXPERIMENTAL! Enable a loss penalty if the loss is NaN, which can push back the minimizer.
Won’t work with every minimizer
enable – If True, enable this feature.