Dynamic Switch Layers For Unsupervised Learning