Towards an Optimal Control Perspective of ResNet Training