specifying neural network