The difference between a hidden and output layer should not make the suggested approaches invalid, should it?
I think you could still add the parameter during the training. However, I’m currently unsure about dealing with the optimizer. E.g. would you like to reinitialize the optimizer after changing the layer?