comp.lang.ada
 help / color / mirror / Atom feed
From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: Artificial Intelligence libraries in ADA
Date: Wed, 11 Jan 2023 18:46:18 -0800 (PST)	[thread overview]
Message-ID: <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> (raw)
In-Reply-To: <tplla5$qo2c$1@dont-email.me>

On Wednesday, January 11, 2023 at 5:34:48 PM UTC+11, roda...@gmail.com wrote:
> 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. 
> >> 
> >> 

> 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.

I've tried to install cBound and am not quite sure what I need to do.
When I try to build the library it fails with:
 2023-01-12 13:37:54] /Ada_Source/cBound/tier-1/tensorflow/library/tensorflow.gpr:2:06: unknown project file: "swig"

I have installed swig4ada but it does not seem to have a gpr file.

Attempts to build the 'hello_tf' demo fails with:
/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr:2:06: unknown project file: "tensorflow"
[2023-01-12 13:42:51] /Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr:3:06: unknown project file: "swig"

Not surprising as I couldn't build the tensorflow library?

  reply	other threads:[~2023-01-12  2:46 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
2023-01-12  2:46                   ` Roger Mc [this message]
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