‹ projects

cluster-rnn

a distributed Torch7 RNN cluster over MPI
Log | Files | Refs | README

commit 438fcd86b434e20853df3421c4e9ef6bafc2620d
parent cdd2bfe1219d8f613de96cfd049b38b03602da13
Author: umhau <umhau@users.noreply.github.com>
Date:   Thu, 16 Feb 2017 13:36:46 -0500

diagnostics

Diffstat:
Msample.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sample.lua b/sample.lua @@ -146,6 +146,7 @@ repeat -- fill with uniform probabilities over characters (? hmm) gprint('missing seed text, using uniform probability over first character') gprint('--------------------------') + print('1') prediction = torch.Tensor(1, #ivocab):fill(1)/(#ivocab) if opt.gpuid >= 0 and opt.opencl == 0 then prediction = prediction:cuda() end if opt.gpuid >= 0 and opt.opencl == 1 then prediction = prediction:cl() end