Skip to content
Snippets Groups Projects
Commit 3e7f6233 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

small addition to LSTM class

parent 70e380b1
Branches
Tags
No related merge requests found
Pipeline #
......@@ -112,6 +112,6 @@ class LSTM(base.Layer):
# consider the output of the last cell
# apply linear activation on it
return outputs[-1]
# return tf.matmul(outputs[-1], self.output_activation_weights['out']) + self.output_activation_biases['out']
# return outputs[-1]
return tf.matmul(outputs[-1], self.output_activation_weights['out']) + self.output_activation_biases['out']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment