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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to