based on this:

   https://www.tensorflow.org/versions/r0.7/api_docs/index.html


there exist two APIs ... C++ and Python.


however, the public C++ API appears to have started out quite limited:

   "TensorFlow's public C++ API includes *only* the API for executing 
graphs, as of version 0.5."

    https://www.tensorflow.org/versions/r0.7/api_docs/cc/index.html



while there seems to have been some
improvement since TensorFlow version 0.5,
it is not immediately clear that the C++ API
has comparable coverage to the Python API:

https://www.tensorflow.org/versions/r0.7/api_docs/cc/ClassEnv.html#class-tensorflow-env


i hope to look a bit further in the weeks ahead.

best,

cdm




On Friday, February 19, 2016 at 7:54:19 AM UTC-8, Jonathan Malmaud wrote:
>
> Isn't there a C API for tensorflow? It's probably more realistic to target 
> that then to wait for cxx.jl to become mainstream. 
>
> On Monday, December 14, 2015 at 2:17:50 PM UTC-5, Phil Tomson wrote:
>>
>> TensorFlow is written in C++ and they use SWIG to generate wrappers for 
>> Python. There is no Julia target for SWIG, but looking at some discussions 
>> here seems to indicate that SWIG for Julia is kind of pointless given that 
>> things like Cxx.jl exist.
>>
>> However, Cxx.jl requires special dev versions of both Julia and LLVM so 
>> it's not an "out of the box" experience just yet. 
>>
>> There was a thread on TensorFlow here a few weeks back, I'm wondering if 
>> anyone was was working on Julia/TensorFlow interoperability?
>>
>> Are there alternatives to Cxx.jl for this kind of thing? Will Cxx.jl ever 
>> be at the point where we can use it with a standard release of Julia?
>>
>> Phil
>>
>

Reply via email to