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