NeuralLayer::transform_() implementation.
NeuralNetwork::transform_() implementation.