General Neural Nets Generator