Forum > Third party

Pascal for TensorFlow

<< < (3/5) > >>

jollytall:
Oh yes,
Sorry for mistyping it... Good that you found it.

jollytall:
In the last three years Tesnsorflow went from 1.15 to 2.11 and it changed significantly. Now the Pascal interface at https://github.com/zsoltszakaly/tensorflowforpascal has been updated to work without error on 2.11 and more examples were added including a simple but complete MNIST solution.

Root:
https://github.com/Pigrecos/TensorFlow.Delphi

this is the implementation of tensorflow and keras that i'm working on occasionally (little free time) without using python etc. based on tensorflow 2.11, but it's mainly written for delphi (version from 10.3 up). The freePascal port is planned (but not a priority at the moment). If anyone would like to help me, they are welcome.

Thaddy:
As far as I can see it already works in {$mode delphi} apart from the dreaded inline variable declarations.
If you agree with me such code is a bad idea, I can provide patches/pull requests against your repository.
Note that bringing the vars to the declaration section will still keep it Delphi compatible.

Root:

--- Quote from: Thaddy on January 27, 2023, 01:49:07 pm ---As far as I can see it already works in {$mode delphi} apart from the dreaded inline variable declarations.
If you agree with me such code is a bad idea, I can provide patches/pull requests against your repository.
Note that bringing the vars to the declaration section will still keep it Delphi compatible.

--- End quote ---

yes you are absolutely right, I don't like it either, I don't even like how delphi handles them (especially under debug). But the changes to be made would be considerable. I started with inline variable because it saves a little bit of time, but it wasn't a good idea. :'(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version