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(
|
model = Chain(
|
||||||
Input(length(alphabet)),
|
Input(length(alphabet)),
|
||||||
Flux.Recurrent(length(alphabet), 128, length(alphabet)),
|
Recurrent(length(alphabet), 128, length(alphabet)),
|
||||||
softmax)
|
softmax)
|
||||||
|
|
||||||
m = tf(unroll(model, 50))
|
m = tf(unroll(model, 50))
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
export Recurrent
|
||||||
|
|
||||||
@net type Recurrent
|
@net type Recurrent
|
||||||
Wxh; Whh; Why
|
Wxh; Whh; Why
|
||||||
bh; by
|
bh; by
|
||||||
|
Loading…
Reference in New Issue
Block a user