Skip to content

Commit dbad309

Browse files
authored
Merge branch 'master' into minor_update
2 parents 22efe7a + ae789c6 commit dbad309

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

klab-12-4-seq2seq.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
# Store model graph in png
6767
plot(model, to_file=os.path.basename(__file__) + '.png', show_shapes=True)
6868

69+
6970
# Create test data set for fun
7071
testX = []
7172
testY = []
@@ -76,6 +77,7 @@
7677
testX.append(x)
7778
testY.append(y)
7879

80+
7981
# One-hot encoding
8082
testX = np_utils.to_categorical(testX, nb_classes=nb_classes)
8183
# reshape X to be [samples, time steps, features]

0 commit comments

Comments
 (0)