Merge pull request #11 from mkborregaard/patch-1
add semicolon after readstring
This commit is contained in:
commit
fdb51810e4
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user