Open amirkhango opened 6 years ago
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.
y = Activation(self.activation)(W2(h))
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.