Topological structure is predictive of deep neural network success in learning