On the curvature of the loss landscape