3 ms·
can't we use numba directly, not llvmlite?
by denfromufa 10y ago
can't we use numba directly, not llvmlite?
- Fede_V 10y agonumba works on python code, not on dags generated by tensorflow. In practice, what numba does is turn the python code into llvm types, and then compile those with LLVM. What the OP is doing is turning tensorflow dags into llvm types, and then compiling those with LLVM. You can look at numba and the OP's project both as front ends to LLVM.
- witty_username 10y agonumba is a Python JIT that uses llvmlite llvmlite is an Python interface to LLVM So, JIT compilation for TensorFlow graphs would need llvmlite as TensorFlow graphs aren't Python.