A study of the edge of stability in deep learning