seq2seq
seq2seq copied to clipboard
How to set the type of activation function of output inside the LSTM block of decoder?
Maybe you can look at the 45th line of cell.py.y = Activation(self.activation)(W2(h))
. h is the lstm cell output. Then it goes through a dense layer W2. So you can set activation function for W2.