Retuns a tuple containing the parameters of the layer.
If layer is non-learnable, None is returned instead.
The tuple can have a size > 1 for convenience. For example,
a convolutional neural layer has one array for the filters
weights and one array for the biases.