3 ms·
Torch, the scientific computing framework for LuaJIT, is based on the great Lua language. This makes it a good choice - LuaJIT per se is a faster than any Pytho
by frik 11y ago
Torch, the scientific computing framework for LuaJIT, is based on the great Lua language. This makes it a good choice - LuaJIT per se is a faster than any Python interpreter/VM.
Caffe is C++, and the rest are Python (Neon, Theano and TensorFlow).
- argonaut 11y agoThis is a bit misleading. No framework is doing computation in the language you write your model in. The code you write in any of these frameworks just calls wrappers around the underlying C/C++/Cuda implementation.
- frik 11y agoYou are right, my statement was a bit misleading. These Lua and Python based frameworks call the high performance implementation which is coded usually in C/C++/Cuda/Fortran/etc. Nevertheless the Lua <-> C interface is lightweight and it certainly helps if the overhead is low. I know a guy who wrote a fast SAT solver in C, though called it with various slow bash scripts. I asked him why he uses bash, he mentioned it doesn't matter. In the end Microsoft's SAT solver beat him, exactly because they cared about such details too.