A Classification of G-Invariant Shallow Neural Networks