[fpc-pascal] Is there any pascal interface to TensorFlow or other neural network tools?

Dennis Poon dennis at avidsoft.com.hk
Sun Oct 29 07:04:55 CET 2017



Michael Van Canneyt wrote:
>
>
> On Sat, 28 Oct 2017, Dennis wrote:
>
>> or even neural network libraries written in Pascal?
>>
>> I know there are many python interfaces/libraries but I hope to use 
>> Pascal entirely so that I don't have to run a python server along 
>> side my Free Pascal program.
>>
>> Or, is it possible to call python from Free pascal?
>>
>> If not, in the worst case, I have to write  python tcp/ip server to 
>> accepts commands from (and send back results to ) my FPC program.
>
> Tensorflow has a C library interface, the c_api.h header can be easily
> translated with h2pas.
>
> https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api.h
>
> I did a quick run, it translates quite well.
>
> Michael.

That's good news. Thanks a lot.




More information about the fpc-pascal mailing list