Training and Generating Neural Networks in Compressed Weight Space