From 3fa8a55e41fc7f56ffe864c071b0e895a2f84a40 Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Sat, 28 Jan 2017 22:35:10 +0530 Subject: [PATCH] this is pointless --- examples/char-rnn.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/char-rnn.jl b/examples/char-rnn.jl index 0bff81cf..e157146b 100644 --- a/examples/char-rnn.jl +++ b/examples/char-rnn.jl @@ -24,8 +24,6 @@ m = tf(unroll(model, nunroll)) @time Flux.train!(m, Xs, Ys, η = 0.1, epoch = 1) -string(map(c -> onecold(c, alphabet), m(first(first(Xs))))...) - function sample(model, n, temp = 1) s = [rand(alphabet)] m = tf(unroll(model, 1))