word-rnn icon indicating copy to clipboard operation
word-rnn copied to clipboard

respect -opencl argument and use proper torch.*Tensor()

Open allthetime opened this issue 8 years ago • 0 comments

Hey, this is the first line of Lua I've ever written, not sure style is correct but wanted to keep it concise.

This makes the library compatible with opencl by using the proper tensor function depending on the existence of the -opencl 1 argument.

allthetime avatar Mar 03 '16 06:03 allthetime