5 ms·
The #1 thing I would love to see in future versions of Tensorflow is a better C API, with documented support for gradients, which are essentially for porting Te
by thosakwe 8y ago
The #1 thing I would love to see in future versions of Tensorflow is a better C API, with documented support for gradients, which are essentially for porting Tensorflow to other languages.
As someone who is not very familiar with Python, I found it very difficult to port code over, and so I've mostly paused my porting effort for the time.
Other than that, I quite like Tensorflow, and intend to use it more and more as time goes along.
- kodablah 8y agoAmen, especially for the training side. Python and C++ leave a lot to be desired. Extrapolating from this quote: > Support for more platforms and languages, and improved compatibility and parity between these components via standardization on exchange formats and alignment of APIs I hope that means a solid C API, but it might also mean higher level e.g. protobuf/grpc or something.
- CamperBob2 8y agoDefinitely. C is the Rosetta Stone of ABIs. Python is simply not suitable for that purpose. It is compatible with, well, the same version of Python. C++ has the same problem. It's even worse in a sense, since there's still effectively no compiler-independent binary object model at all.
- liuliu 8y agoI don't think this is possible. At least in TensorFlow 1.x, a lot of non-trivial parts (other than Operators and Gradients) are implemented in Python directly. See their Java bindings, the functionalities exposed are miles far from the Python version.