add semicolon after readstring

This commit is contained in:
Michael Krabbe Borregaard 2017-03-15 14:56:00 +01:00 committed by GitHub
parent 2adc3cd18e
commit a0b8d11f2e

View File

@ -7,7 +7,7 @@ nbatch = 50
getseqs(chars, alphabet) = sequences((onehot(Float32, char, alphabet) for char in chars), nunroll)
getbatches(chars, alphabet) = batches((getseqs(part, alphabet) for part in chunk(chars, nbatch))...)
input = readstring("$(homedir())/Downloads/shakespeare_input.txt")
input = readstring("$(homedir())/Downloads/shakespeare_input.txt");
alphabet = unique(input)
N = length(alphabet)