News for hackers. Stuff that matters.
Re:TensorFlow 2.0 is coming by thosakwe on Tuesday August 14, 2018 @05:53PM (#17762261)
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.

Re:TensorFlow 2.0 is coming by kodablah on Tuesday August 14, 2018 @06:22PM (#17762438)
Amen, 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.

Re:TensorFlow 2.0 is coming by liuliu on Tuesday August 14, 2018 @08:16PM (#17762982)
I 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.

Re:TensorFlow 2.0 is coming by CamperBob2 on Tuesday August 14, 2018 @06:51PM (#17762589)
Definitely. 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.