An interpretive constrained linear model for ResNet and MgNet. (May 2023)