Create a MLP with n_layers layers and n_inputs_ inputs.
The definitions of the layer come then: it's a string
followed by an integer for the number of outputs of the layer.
Valid strings are "linear", "tanh", "sigmoid", "softmax", "log-softmax",
"exp" and "softplus".
Example: to create an MLP with one linear layer and one softmax layer,
MLP(2, n_inputs, "linear", n_outputs, "softmax", n_outputs);