Trainable neural network.