Layer-Parallel Training of Residual Networks with Auxiliary-Variable Networks