logloss is exported

This commit is contained in:
Mike J Innes 2017-05-01 12:30:43 +01:00
parent 4dc3fa6bd2
commit ee623f2ed2

View File

@ -24,7 +24,7 @@ model = Chain(
m = mxnet(unroll(model, nunroll)) m = mxnet(unroll(model, nunroll))
@time Flux.train!(m, train, η = 0.1, loss = Flux.logloss) @time Flux.train!(m, train, η = 0.1, loss = logloss)
function sample(model, n, temp = 1) function sample(model, n, temp = 1)
s = [rand(alphabet)] s = [rand(alphabet)]