Topology of Learning in Artificial Neural Networks