From Deep to Shallow: Transformations of Deep Rectifier Networks