comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay5@gmail.com>
Subject: Re: Artificial Intelligence libraries in ADA
Date: Wed, 11 Jan 2023 17:35:03 +1100	[thread overview]
Message-ID: <tplla5$qo2c$1@dont-email.me> (raw)
In-Reply-To: <ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>

On 9/1/23 03:32, Dana B wrote:
> On Friday, November 11, 2022 at 5:19:56 AM UTC-5, roda...@gmail.com wrote:
>> On 11/11/22 06:18, Luke A. Guest wrote:
>>>
>>> Also, Rod Kay (charlie on irc) did something re TF iirc.
>> I generated a thin binding to the TensorFlow C API via swig4ada
>> around mid June. The binding has not been tested apart from a 'hello_TF'
>> demo which simply calls the 'TF_Version' function and prints it.
>>
>> I've been distracted by other projects since but as chance would
>> have it, I've recently resumed work on swig4ada and TF will definitely
>> be one of the top priorities re testing swig4ada.
>>
>> I'll try to take another look at it this weekend and to get the TF
>> binding onto github, if possible.
>>
>>
>> Regards.
> 
> Has this code been posted? I have been looking for some type of Ada binding to TensorFlow, and was coming up short. I'm green enough to not feel confident to just write it all myself, so I am digging around trying to find anything that might exist.


I've just added the binding today.

https://github.com/charlie5/cBound/tree/master/tier-1/tensorflow

Install instructions are in the top-level 'README.md'.

Bear in mind the binding is auto generated, thin and is the C API 
version '2.11.0'.

It's also auto-formatted using 'gnatpp' (for the Ada code) and 'indent' 
(for the C code).

Other than the 'hello_tf' demo, it's also untested.

I'll spend some time tomorrow cleaning up the formatting and removing 
some of the source code 'warts' (such as redundant 'with's).

If you try it, please let me know how it goes (especially bugs :) ).


Regards.




  parent reply	other threads:[~2023-01-11  6:35 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10  7:25 Artificial Intelligence libraries in ADA Daniel
2019-07-10  7:39 ` J-P. Rosen
2019-07-10  8:57   ` Daniel
2019-07-10 10:52 ` Dmitry A. Kazakov
2019-07-10 11:30   ` Daniel
2019-07-10 14:44     ` Philip Munts
2019-07-10 15:08     ` Dmitry A. Kazakov
2019-07-10 16:13 ` Jeffrey R. Carter
2019-07-11  7:42   ` Björn Lundin
2019-07-11 16:49     ` Jeffrey R. Carter
2022-11-10 17:58       ` Marius Amado-Alves
2022-11-10 19:10         ` Jeffrey R.Carter
2022-11-10 19:18           ` Luke A. Guest
2022-11-11 10:20             ` Rod Kay
2023-01-08 16:32               ` Dana B
2023-01-09 11:12                 ` Rod Kay
2023-01-11  6:35                 ` Rod Kay [this message]
2023-01-12  2:46                   ` Roger Mc
2023-01-12  5:01                     ` Rod Kay
2023-01-12  5:13                       ` Roger Mc
2023-01-12  5:30                         ` Roger Mc
2023-01-12  5:38                           ` Roger Mc
2023-01-12  5:43                             ` Roger Mc
2023-01-12  7:31                               ` Rod Kay
2023-01-12  8:02                               ` Rod Kay
2023-01-12  9:12                                 ` Roger Mc
2023-01-12 10:32                                   ` Rod Kay
2023-01-12 10:51                                     ` Roger Mc
2023-01-12 11:28                                       ` Roger Mc
2023-01-12 12:18                                         ` Rod Kay
2023-01-12 21:57                                           ` Roger Mc
2023-01-12 22:09                                           ` Roger Mc
2023-01-13  0:12                                             ` Roger Mc
2023-01-13  0:40                                               ` Roger Mc
2023-01-13  7:24                                                 ` Rod Kay
2023-01-13 22:13                                                   ` Roger Mc
2023-01-13 11:18                                                 ` Marius Amado-Alves
2023-01-13 14:55                                                   ` Roger Mc
2023-01-13  7:19                                               ` Rod Kay
2023-01-13 22:08                                                 ` Roger Mc
2023-01-14  9:35                                                   ` Rod Kay
2023-01-14 11:53                                                     ` Roger Mc
2023-01-09  1:56 ` Roger Mc
2023-01-09 10:49   ` J-P. Rosen
2023-01-09 11:21     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox