Skip to content

Commit 9b5cfc1

Browse files
committed
Changed some of the comments since the code has changed.
1 parent 142cadf commit 9b5cfc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lstm.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ def step(self, x):
9999

100100

101101
##############################################
102-
### Compute Activations ###
102+
### Concatenate Weights ###
103103
##############################################
104-
# We have to define expressions self.h and self.c
105-
# The initial h and c states are possibly placeholders.
104+
# We concatenate the weights so we only do two
105+
# matrix multiplies instead of eight.
106106

107107
W = tf.concat(1,[W_i, W_f, W_c, W_o])
108108

0 commit comments

Comments
 (0)