Text this: From NeurODEs to AutoencODEs: A mean-field control framework for width-varying neural networks