NeuralNetworkLayer implementation class