Do you know where your variables are? | |
PerlMonks |
Re^2: The Future of Perl 5by Anonymous Monk |
on Aug 29, 2018 at 16:41 UTC ( [id://1221311]=note: print w/replies, xml ) | Need Help?? |
Today I was looking for some open source software to train with and classify images. Most people pointed to Tensorflow. Which is written in C++ but all examples and usage are on python (liaks). "Why is that?" many people asked on forums far and wide.
From www.tensorflow.org/extend/language_bindings : "Python was the first client language supported by TensorFlow and currently supports the most features. More and more of that functionality is being moved into the core of TensorFlow (implemented in C++) and exposed via a C API. Client languages should use the language's foreign function interface (FFI) to call into this C API to provide TensorFlow functionality." From FFI::Platypus : "Platypus is a library for creating interfaces to machine code libraries written in languages like C, C++, Fortran, Rust, Pascal. Essentially anything that gets compiled into machine code. This implementation uses libffi to accomplish this task. libffi is battle tested by a number of other scripting and virtual machine languages, such as Python and Ruby to serve a similar role. There are a number of reasons why you might want to write an extension with Platypus instead of XS:" Go ahead, change the world...
In Section
Meditations
|
|