export recurrent
This commit is contained in:
parent
fabff9b0d2
commit
81d9743836
@ -10,7 +10,7 @@ train = zip(getbatches(input, alphabet), getbatches(input[2:end], alphabet))
|
||||
|
||||
model = Chain(
|
||||
Input(length(alphabet)),
|
||||
Flux.Recurrent(length(alphabet), 128, length(alphabet)),
|
||||
Recurrent(length(alphabet), 128, length(alphabet)),
|
||||
softmax)
|
||||
|
||||
m = tf(unroll(model, 50))
|
||||
|
@ -1,3 +1,5 @@
|
||||
export Recurrent
|
||||
|
||||
@net type Recurrent
|
||||
Wxh; Whh; Why
|
||||
bh; by
|
||||
|
Loading…
Reference in New Issue
Block a user