gradients are slow
This commit is contained in:
parent
ec1950b466
commit
a99bb03830
@ -18,7 +18,7 @@ function tf(model::Flux.Unrolled)
|
|||||||
SeqModel(
|
SeqModel(
|
||||||
Model(model, sess, params,
|
Model(model, sess, params,
|
||||||
[instates..., input], [outstates..., output],
|
[instates..., input], [outstates..., output],
|
||||||
[gradients(output, input)]),
|
[placeholder(Float32)]),
|
||||||
batchone.(model.state))
|
batchone.(model.state))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user