Theme and Variations for a Neural Network