Hi
Is there a way to set requires_grad = False for only one line in embeddings layer?
For example I want to pad every sequence to 20 words and I don’t want to change line of the pad-word from zeros.
Packed Sequence won’t work here because I won’t use any rnn layer.