Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers | Synapse