Create a loss function according to SoftL1’s method.
loss = s**2 * rho(f**2 / s**2) where rho(z) = 2 * ((1 + z)**0.5 - 1). s is the scaling factor.
scaling_factor (f64) – Scaling factor for SoftL1 loss function.
Loss