TensorFlow API (Wrapper) for Delphi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
P4DTensorflowDemos New P4D Tensorflow demos (Chapter 03 - Chapter 07) Dec 19, 2017
api
api_tests Changes to TF version 1.4.0 Nov 29, 2017
bin Changes to TF version 1.4.0 Nov 29, 2017
c_api_extensions All files added for the first time. Nov 28, 2017
third_party All files added for the first time. Nov 28, 2017
LICENSE
README.md New P4D Tensorflow demos (Chapter 03 - Chapter 07) Dec 19, 2017
clean.bat Addition of Python4Delphi/Tensorflow-Demos Dec 15, 2017

README.md

TensorFlow4Delphi

TensorFlow API (Wrapper) for Delphi

Requirements and versions

  • Python 3.6 64-bit with installed Tensorflow 1.4.0 64-bit
  • Delphi 10.2 Tokyo
    • Set the enviroment variable DUnitX for Path to DUnitX-Source in the IDE options mask.
  • Visual Studio 2015 for C-Api-Extensions

There are three DUnitX-Projects for console, fmx and vcl to test the Delphi-API. My preferred DUnitX-Project is: "api_tests\TestWithVCLUnitX\VCLTestTensorFlow.dproj". This DUnitX-Project allows you to take a closer look at the Tensorflow API. The project contains a hex viewer.

For fast solutions with Tensorflow I prefer to use the package "Python4Delphi" (P4D). Prototyping is done directly in Python and for the later interaction with the users I use Delphi. See the directory "P4DTensorflowDemos" and the project "P4DDemoControl.dproj". The subdirectory "demos\Machine_Learning_with_TensorFlow" contains examples of the book "Machine Learning with TensorFlow" ( https://github.com/BinRoot/TensorFlow-Book ).

You can find a corrected "Python4Delphi"-Version here:

https://github.com/hartmutdavid/python4delphi

This version includes customizations to Python 3.x, 64bit-Windows and FireDAC.