Subspace Learning of Neural Networks