seq2seq icon indicating copy to clipboard operation
seq2seq copied to clipboard

How to set the type of activation function of output inside the LSTM block of decoder?

Open amirkhango opened this issue 6 years ago • 1 comments

amirkhango avatar Oct 09 '18 03:10 amirkhango

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.

yyb1995 avatar Nov 04 '18 06:11 yyb1995