Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"What the scientists have in their briefcases is terrifying." -- Nikita Khrushchev


devel / comp.lang.ada / Re: Artificial Intelligence libraries in ADA

SubjectAuthor
* Re: Artificial Intelligence libraries in ADAMarius Amado-Alves
`* Re: Artificial Intelligence libraries in ADAJeffrey R.Carter
 `* Re: Artificial Intelligence libraries in ADALuke A. Guest
  `* Re: Artificial Intelligence libraries in ADARod Kay
   `* Re: Artificial Intelligence libraries in ADADana B
    +- Re: Artificial Intelligence libraries in ADARod Kay
    `* Re: Artificial Intelligence libraries in ADARod Kay
     `* Re: Artificial Intelligence libraries in ADARoger Mc
      `* Re: Artificial Intelligence libraries in ADARod Kay
       `* Re: Artificial Intelligence libraries in ADARoger Mc
        `* Re: Artificial Intelligence libraries in ADARoger Mc
         `* Re: Artificial Intelligence libraries in ADARoger Mc
          `* Re: Artificial Intelligence libraries in ADARoger Mc
           +- Re: Artificial Intelligence libraries in ADARod Kay
           `* Re: Artificial Intelligence libraries in ADARod Kay
            `* Re: Artificial Intelligence libraries in ADARoger Mc
             `* Re: Artificial Intelligence libraries in ADARod Kay
              `* Re: Artificial Intelligence libraries in ADARoger Mc
               `* Re: Artificial Intelligence libraries in ADARoger Mc
                `* Re: Artificial Intelligence libraries in ADARod Kay
                 +- Re: Artificial Intelligence libraries in ADARoger Mc
                 +* Re: Artificial Intelligence libraries in ADARoger Mc
                 |+* Re: Artificial Intelligence libraries in ADARoger Mc
                 ||`* Re: Artificial Intelligence libraries in ADARod Kay
                 || `* Re: Artificial Intelligence libraries in ADARoger Mc
                 ||  `* Re: Artificial Intelligence libraries in ADARod Kay
                 ||   `- Re: Artificial Intelligence libraries in ADARoger Mc
                 |+* Re: Artificial Intelligence libraries in ADARoger Mc
                 ||`* Re: Artificial Intelligence libraries in ADARod Kay
                 || `- Re: Artificial Intelligence libraries in ADARoger Mc
                 |`- Re: Artificial Intelligence libraries in ADARoger Mc
                 `- Re: Artificial Intelligence libraries in ADAMarius Amado-Alves

Pages:12
Re: Artificial Intelligence libraries in ADA

<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8994&group=comp.lang.ada#8994

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:3489:b0:4bb:781e:6232 with SMTP id mr9-20020a056214348900b004bb781e6232mr1529908qvb.15.1668103107357;
Thu, 10 Nov 2022 09:58:27 -0800 (PST)
X-Received: by 2002:a05:6214:27c8:b0:4bb:acd8:36bd with SMTP id
ge8-20020a05621427c800b004bbacd836bdmr60664633qvb.96.1668103107176; Thu, 10
Nov 2022 09:58:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 10 Nov 2022 09:58:27 -0800 (PST)
In-Reply-To: <qg7pa7$bvn$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=149.90.69.202; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 149.90.69.202
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: amado.alves@gmail.com (Marius Amado-Alves)
Injection-Date: Thu, 10 Nov 2022 17:58:27 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1880
 by: Marius Amado-Alves - Thu, 10 Nov 2022 17:58 UTC

Resurrecting this 3-year old thread, see what happens:-)

I too need AI and Machine Learning libraries, and I am literally disgusted at the prospective of having to use Python or Go or C++ for this. Has anything come up in the last 3 years? Maybe a binding to TensorFlow?

I plan to use Carter's REM NN, and maybe Kasakov's fuzzy_ml, for some experiments, but at some point I'll want, like Bjorn Ludin, *recurrent* architectures, probably LSTM (Long Short* Term Memory), as I want to segment and classify text.

(Jeff: can we somehow reenginer REM NN towards recurrency? Maybe by inserting recurrent layers?)

*Not a typo. The ML geniuses really say "long short"...

Re: Artificial Intelligence libraries in ADA

<tkjia8$j6o3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8995&group=comp.lang.ada#8995

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 10 Nov 2022 20:10:00 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tkjia8$j6o3$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 10 Nov 2022 19:10:01 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="96b605d9ec811ac4ff7484f1528f1ca3";
logging-data="629507"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19g9OW98uLdCPSq/UVyhgtzzHVyRT+Z10w="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Cancel-Lock: sha1:Xrne1LWACqi8n00ko9CP+bFt7Dg=
Content-Language: en-US
In-Reply-To: <f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
 by: Jeffrey R.Carter - Thu, 10 Nov 2022 19:10 UTC

On 2022-11-10 18:58, Marius Amado-Alves wrote:
>
> (Jeff: can we somehow reenginer REM NN towards recurrency? Maybe by inserting recurrent layers?)

Probably best to discuss this off line. You can contact me by e-mail.

--
Jeff Carter
"Hold your temper. Count ten.... Now let 'er go.
You got a good aim."
Never Give a Sucker an Even Break
105

Re: Artificial Intelligence libraries in ADA

<tkjiuu$1b9a$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8996&group=comp.lang.ada#8996

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!Lx7EM+81f32E0bqku+QpCA.user.46.165.242.75.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 10 Nov 2022 19:18:10 +0000
Organization: Aioe.org NNTP Server
Message-ID: <tkjiuu$1b9a$1@gioia.aioe.org>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44330"; posting-host="Lx7EM+81f32E0bqku+QpCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Luke A. Guest - Thu, 10 Nov 2022 19:18 UTC

On 10/11/2022 19:10, Jeffrey R.Carter wrote:
> On 2022-11-10 18:58, Marius Amado-Alves wrote:
>>
>> (Jeff: can we somehow reenginer REM NN towards recurrency? Maybe by
>> inserting recurrent layers?)
>
> Probably best to discuss this off line. You can contact me by e-mail.
>

Why?

Also, Rod Kay (charlie on irc) did something re TF iirc.

Re: Artificial Intelligence libraries in ADA

<tkl7k9$qqd5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9002&group=comp.lang.ada#9002

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Fri, 11 Nov 2022 21:20:04 +1100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tkl7k9$qqd5$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 11 Nov 2022 10:19:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="57d1404b1ce434f385bc3aacd7a168e6";
logging-data="879013"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eg54Gt50VKleNKP+NmrRYayursvKN2Tk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:woRLQiGHcofOPUTQKsxHEStKBBg=
In-Reply-To: <tkjiuu$1b9a$1@gioia.aioe.org>
Content-Language: en-US
 by: Rod Kay - Fri, 11 Nov 2022 10:20 UTC

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.

Re: Artificial Intelligence libraries in ADA

<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9179&group=comp.lang.ada#9179

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ae9:ddc1:0:b0:6fa:77c0:ea01 with SMTP id r184-20020ae9ddc1000000b006fa77c0ea01mr1692905qkf.537.1673195572843;
Sun, 08 Jan 2023 08:32:52 -0800 (PST)
X-Received: by 2002:ae9:e8cf:0:b0:705:b7c4:ecef with SMTP id
a198-20020ae9e8cf000000b00705b7c4ecefmr98857qkg.683.1673195572493; Sun, 08
Jan 2023 08:32:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 8 Jan 2023 08:32:52 -0800 (PST)
In-Reply-To: <tkl7k9$qqd5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=174.78.207.128; posting-account=hDFjhwoAAABuUhFotRxMd7H3x855bkSW
NNTP-Posting-Host: 174.78.207.128
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: starlabrite@gmail.com (Dana B)
Injection-Date: Sun, 08 Jan 2023 16:32:52 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2331
 by: Dana B - Sun, 8 Jan 2023 16:32 UTC

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.

Re: Artificial Intelligence libraries in ADA

<tpgsr7$5qrc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9184&group=comp.lang.ada#9184

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Mon, 9 Jan 2023 22:12:52 +1100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tpgsr7$5qrc$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 9 Jan 2023 11:12:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9283242335d53126da620b96fe75c9a7";
logging-data="191340"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2SjWPkR3q3QftKXpTc3y+BggrPQ4DS2U="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:/UKX0ieFlFNtFEaT8BhfOdhMcdY=
In-Reply-To: <ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
Content-Language: en-US
 by: Rod Kay - Mon, 9 Jan 2023 11:12 UTC

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'm sorry, I got distracted again (something about a crate :) ).

I'll try to get the binding onto github tomorrow.

Regards.

Re: Artificial Intelligence libraries in ADA

<tplla5$qo2c$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9193&group=comp.lang.ada#9193

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Wed, 11 Jan 2023 17:35:03 +1100
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <tplla5$qo2c$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 11 Jan 2023 06:34:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3671e046a9179fd81134d068de1c62f4";
logging-data="876620"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R4cqi4FMJ/T0S+BgD1LPfQnT047K+PHY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:np320XhtBFXpFWIQQaSPGttY3ms=
In-Reply-To: <ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
Content-Language: en-US
 by: Rod Kay - Wed, 11 Jan 2023 06:35 UTC

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.

Re: Artificial Intelligence libraries in ADA

<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9202&group=comp.lang.ada#9202

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:774b:0:b0:3a5:7c31:2e3e with SMTP id g11-20020ac8774b000000b003a57c312e3emr2165236qtu.111.1673491579160;
Wed, 11 Jan 2023 18:46:19 -0800 (PST)
X-Received: by 2002:ac8:6eca:0:b0:3a9:68ba:4c10 with SMTP id
f10-20020ac86eca000000b003a968ba4c10mr2560473qtv.676.1673491578926; Wed, 11
Jan 2023 18:46:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 11 Jan 2023 18:46:18 -0800 (PST)
In-Reply-To: <tplla5$qo2c$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 02:46:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3660
 by: Roger Mc - Thu, 12 Jan 2023 02:46 UTC

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?

Re: Artificial Intelligence libraries in ADA

<tpo467$16i1o$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9203&group=comp.lang.ada#9203

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 16:01:10 +1100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <tpo467$16i1o$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Jan 2023 05:00:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b";
logging-data="1263672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+s6ik0QCJbOhRq62+/xWyenP3x105LC4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:RFzd6s8ZpMM7fzSSBTjom/Jbabc=
In-Reply-To: <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
Content-Language: en-US
 by: Rod Kay - Thu, 12 Jan 2023 05:01 UTC

On 12/1/23 13:46, Roger Mc wrote:
> On Wednesday, January 11, 2023 at 5:34:48 PM UTC+11, roda...@gmail.com wrote:
>
> 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?

Have you followed the install instructions in the README.md ?

Install

Add the following lines to ~/.bashrc or equivalent ...

export CBOUND=/path/to/cbound

source $CBOUND/cbound-gpr_paths.sh

That should make both 'swig.gpr' and 'tensorflow.gpr' visible to your app.

Re: Artificial Intelligence libraries in ADA

<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9204&group=comp.lang.ada#9204

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:8204:b0:6fa:6424:5d87 with SMTP id ow4-20020a05620a820400b006fa64245d87mr4626426qkn.651.1673500428170;
Wed, 11 Jan 2023 21:13:48 -0800 (PST)
X-Received: by 2002:ac8:67da:0:b0:3a5:122:fb79 with SMTP id
r26-20020ac867da000000b003a50122fb79mr2116414qtp.452.1673500427959; Wed, 11
Jan 2023 21:13:47 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 11 Jan 2023 21:13:47 -0800 (PST)
In-Reply-To: <tpo467$16i1o$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 05:13:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3283
 by: Roger Mc - Thu, 12 Jan 2023 05:13 UTC

On Thursday, January 12, 2023 at 4:00:58 PM UTC+11, roda...@gmail.com wrote:
> On 12/1/23 13:46, Roger Mc wrote:
> > On Wednesday, January 11, 2023 at 5:34:48 PM UTC+11, roda...@gmail.com wrote:
> >
> > 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?
>
> Have you followed the install instructions in the README.md ?
>
>
>
> Install
>
> Add the following lines to ~/.bashrc or equivalent ...
>
> export CBOUND=/path/to/cbound
>
> source $CBOUND/cbound-gpr_paths.sh
>
>
>
> That should make both 'swig.gpr' and 'tensorflow.gpr' visible to your app..

I soon realised what was wrong and deleted this message; apparently not quickly enough.
I did follow the instructions but then proceeded to operate from a non-updated terminal session!!!
Anyway, thanks for your consideration.
I’m now battling getting cBound to acces the tensorflow c_api on my Mac which I’ve definitely done before on other projects.

Re: Artificial Intelligence libraries in ADA

<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9205&group=comp.lang.ada#9205

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ae9:e204:0:b0:6ff:a7f1:ff4e with SMTP id c4-20020ae9e204000000b006ffa7f1ff4emr2484762qkc.292.1673501410826;
Wed, 11 Jan 2023 21:30:10 -0800 (PST)
X-Received: by 2002:a05:6214:318e:b0:4b1:8165:58da with SMTP id
lb14-20020a056214318e00b004b1816558damr3093595qvb.30.1673501410662; Wed, 11
Jan 2023 21:30:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 11 Jan 2023 21:30:10 -0800 (PST)
In-Reply-To: <dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 05:30:10 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2061
 by: Roger Mc - Thu, 12 Jan 2023 05:30 UTC

My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with:
/Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory
150 | #include <tensorflow/tensorflow/c/c_api.h>

As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed.
Certainly, there is no <tensorflow/tensorflow/c/c_api.h> on this computer.

Re: Artificial Intelligence libraries in ADA

<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9206&group=comp.lang.ada#9206

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:890:b0:6fe:ab3e:3d09 with SMTP id b16-20020a05620a089000b006feab3e3d09mr2434319qka.111.1673501906002;
Wed, 11 Jan 2023 21:38:26 -0800 (PST)
X-Received: by 2002:a37:8787:0:b0:705:c855:bed2 with SMTP id
j129-20020a378787000000b00705c855bed2mr702709qkd.240.1673501905823; Wed, 11
Jan 2023 21:38:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 11 Jan 2023 21:38:25 -0800 (PST)
In-Reply-To: <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 05:38:25 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2271
 by: Roger Mc - Thu, 12 Jan 2023 05:38 UTC

On Thursday, January 12, 2023 at 4:30:11 PM UTC+11, Roger Mc wrote:
> My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with:
> /Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory
> 150 | #include <tensorflow/tensorflow/c/c_api.h>
>
> As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed.
> Certainly, there is no <tensorflow/tensorflow/c/c_api.h> on this computer.

This problem also occurs when I attempt to build tier-1/tensorflow.

Re: Artificial Intelligence libraries in ADA

<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9207&group=comp.lang.ada#9207

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:5107:0:b0:534:3c7d:97fc with SMTP id g7-20020ad45107000000b005343c7d97fcmr30978qvp.11.1673502215077;
Wed, 11 Jan 2023 21:43:35 -0800 (PST)
X-Received: by 2002:a05:620a:535e:b0:6ff:a067:7e9 with SMTP id
op30-20020a05620a535e00b006ffa06707e9mr4164538qkn.394.1673502214828; Wed, 11
Jan 2023 21:43:34 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 11 Jan 2023 21:43:34 -0800 (PST)
In-Reply-To: <8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 05:43:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2488
 by: Roger Mc - Thu, 12 Jan 2023 05:43 UTC

On Thursday, January 12, 2023 at 4:38:27 PM UTC+11, Roger Mc wrote:
> On Thursday, January 12, 2023 at 4:30:11 PM UTC+11, Roger Mc wrote:
> > My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with:
> > /Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory
> > 150 | #include <tensorflow/tensorflow/c/c_api.h>
> >
> > As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed.
> > Certainly, there is no <tensorflow/tensorflow/c/c_api.h> on this computer.
> This problem also occurs when I attempt to build tier-1/tensorflow.

I'm now cloning tensorflow from Git.
Hopefully I'll be able to build it.

Re: Artificial Intelligence libraries in ADA

<tpocvv$178lc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9208&group=comp.lang.ada#9208

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 18:31:28 +1100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tpocvv$178lc$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
<tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Jan 2023 07:31:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b";
logging-data="1286828"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E2+jxP8vflB6kcsfx+RqlDpsqqnH+nMU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:TMjfvstJ1PMOivA0moItG4HIjg0=
Content-Language: en-US
In-Reply-To: <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
 by: Rod Kay - Thu, 12 Jan 2023 07:31 UTC

On 12/1/23 16:43, Roger Mc wrote:
> On Thursday, January 12, 2023 at 4:38:27 PM UTC+11, Roger Mc wrote:
>> On Thursday, January 12, 2023 at 4:30:11 PM UTC+11, Roger Mc wrote:
>>> My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with:
>>> /Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory
>>> 150 | #include <tensorflow/tensorflow/c/c_api.h>
>>>
>>> As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed.
>>> Certainly, there is no <tensorflow/tensorflow/c/c_api.h> on this computer.
>> This problem also occurs when I attempt to build tier-1/tensorflow.
>
> I'm now cloning tensorflow from Git.
> Hopefully I'll be able to build it.

Does 'tensorflow/c/c_api.h' exist anywhere on your system ?

If so, you might try modifying the 'tensorflow_wrap.c' #include to use
your path to the 'c_api.h'.

Re: Artificial Intelligence libraries in ADA

<tpoepg$17g77$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9209&group=comp.lang.ada#9209

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 19:02:08 +1100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tpoepg$17g77$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
<tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Jan 2023 08:01:52 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b";
logging-data="1294567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1898wPqyoviyOkGhqlwKvQEPS0TZ3Oe4e8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:NoqXl9B8gA+jtt4dQZUg8SWgHCM=
In-Reply-To: <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
Content-Language: en-US
 by: Rod Kay - Thu, 12 Jan 2023 08:02 UTC

On 12/1/23 16:43, Roger Mc wrote:
> On Thursday, January 12, 2023 at 4:38:27 PM UTC+11, Roger Mc wrote:
>> On Thursday, January 12, 2023 at 4:30:11 PM UTC+11, Roger Mc wrote:
>>> My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with:
>>> /Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory
>>> 150 | #include <tensorflow/tensorflow/c/c_api.h>
>>>
>>> As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed.
>>> Certainly, there is no <tensorflow/tensorflow/c/c_api.h> on this computer.
>> This problem also occurs when I attempt to build tier-1/tensorflow.
>
> I'm now cloning tensorflow from Git.
> Hopefully I'll be able to build it.

I've just updated the tensorflow binding (with formatting cosmetics) and
pushed to github.

Re: Artificial Intelligence libraries in ADA

<ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9210&group=comp.lang.ada#9210

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:5ed6:0:b0:3a7:e66a:8c0d with SMTP id s22-20020ac85ed6000000b003a7e66a8c0dmr4004435qtx.337.1673514733582;
Thu, 12 Jan 2023 01:12:13 -0800 (PST)
X-Received: by 2002:a05:6214:29eb:b0:516:d25b:9c94 with SMTP id
jv11-20020a05621429eb00b00516d25b9c94mr4232833qvb.113.1673514733404; Thu, 12
Jan 2023 01:12:13 -0800 (PST)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 01:12:13 -0800 (PST)
In-Reply-To: <tpoepg$17g77$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 09:12:13 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2589
 by: Roger Mc - Thu, 12 Jan 2023 09:12 UTC

On Thursday, January 12, 2023 at 7:01:55 PM UTC+11, roda...@gmail.com wrote:

> I've just updated the tensorflow binding (with formatting cosmetics) and
> pushed to github.

My build of the git cloned tensorflow failed.

>Does 'tensorflow/c/c_api.h' exist anywhere on your system ?
>If so, you might try modifying the 'tensorflow_wrap.c' #include to use your path to the 'c_api.h'.

c_api.h exists in numerous places, particularly in the git cloned tensorflow just downloaded.
It also exists deep in a couple of Python systems.
As the git cloned tensorflow build failed, I think my best plan is to delete it as it consumes much disk space.
I'll try using a path to one of the Python system versions.

I've updated cBound to your latest push.
Thanks for your assistance,
Roger

Re: Artificial Intelligence libraries in ADA

<tponjk$18bam$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9212&group=comp.lang.ada#9212

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 21:32:37 +1100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <tponjk$18bam$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
<tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me>
<ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Jan 2023 10:32:20 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b";
logging-data="1322326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tmZVZs2CgHb91vNLLhl0ZFeSvxx9DI9o="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:Xr7VBKvLeFVRqmcxmymNAckJOL0=
Content-Language: en-US
In-Reply-To: <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
 by: Rod Kay - Thu, 12 Jan 2023 10:32 UTC

On 12/1/23 20:12, Roger Mc wrote:
> On Thursday, January 12, 2023 at 7:01:55 PM UTC+11, roda...@gmail.com wrote:
>
>> I've just updated the tensorflow binding (with formatting cosmetics) and
>> pushed to github.
>
> My build of the git cloned tensorflow failed.
>
>> Does 'tensorflow/c/c_api.h' exist anywhere on your system ?
>> If so, you might try modifying the 'tensorflow_wrap.c' #include to use your path to the 'c_api.h'.
>
> c_api.h exists in numerous places, particularly in the git cloned tensorflow just downloaded.
> It also exists deep in a couple of Python systems.
> As the git cloned tensorflow build failed, I think my best plan is to delete it as it consumes much disk space.
> I'll try using a path to one of the Python system versions.
>
> I've updated cBound to your latest push.
> Thanks for your assistance,
> Roger

I doubt using a path to one of the Python system versions will work :/ .

Which OS are you using ?

Re: Artificial Intelligence libraries in ADA

<624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9213&group=comp.lang.ada#9213

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:6684:0:b0:3a8:2b88:81cd with SMTP id d4-20020ac86684000000b003a82b8881cdmr3908457qtp.176.1673520716101;
Thu, 12 Jan 2023 02:51:56 -0800 (PST)
X-Received: by 2002:a0c:8e8a:0:b0:531:913e:3ba3 with SMTP id
x10-20020a0c8e8a000000b00531913e3ba3mr3624061qvb.37.1673520715942; Thu, 12
Jan 2023 02:51:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 02:51:55 -0800 (PST)
In-Reply-To: <tponjk$18bam$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 10:51:56 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3112
 by: Roger Mc - Thu, 12 Jan 2023 10:51 UTC

On Thursday, January 12, 2023 at 9:32:23 PM UTC+11, roda...@gmail.com wrote:

> I doubt using a path to one of the Python system versions will work :/ .
Yes, it fails due to c_api.h wanting to reference other tensorflow/c header files

I've just succeeded building tier-1 tensorflow by
1. modifying tier-1/tensorflow/library/tensorflow.gpr:
for Source_Dirs use (".", "../source/**", "../../../../../Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow/include");
2. modifying tensorflow_wrap:
#include <tensorflow/c/c_api.h>

hello_TF compiles but link fails with:
ld: library not found for -ltensorflow
I think I should be able to fix this.

>
> Which OS are you using ?
MacBook Air (13-inch, Early 2015). although purchased new from Apple in 2018!
OSX restricted to version 10.13.6 High Sierra thanks to Apples planned obscelence policy.
(although somewhat a blessing in disguise)
GNAT Community 2021 (20210519)

I also have a Mac_mini running OSX Ventura which has its own problems!
However, I do have the latest GNAT working on it.
If I can get this working on my MacBook Air I'll next try a Mac_mini Ventura version.
I think tensorflow will build from source under Ventura.

Re: Artificial Intelligence libraries in ADA

<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9214&group=comp.lang.ada#9214

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:7245:0:b0:39c:df33:c189 with SMTP id l5-20020ac87245000000b0039cdf33c189mr4280420qtp.498.1673522909356;
Thu, 12 Jan 2023 03:28:29 -0800 (PST)
X-Received: by 2002:ac8:73ca:0:b0:3a5:4f9b:215a with SMTP id
v10-20020ac873ca000000b003a54f9b215amr3797830qtp.394.1673522909157; Thu, 12
Jan 2023 03:28:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 03:28:28 -0800 (PST)
In-Reply-To: <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 11:28:29 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2711
 by: Roger Mc - Thu, 12 Jan 2023 11:28 UTC

My hello_tf link is failing with:

gprbuild -d -eL -P/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr --config=/Ada_Source/default.cgpr -s
Link
[link] hello_tf.adb
Undefined symbols for architecture x86_64:
"_TF_AbortWhile", referenced from:
_Ada_TF_AbortWhile in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AbortWhile)
etc.

I have modified the hello_tf.gpr linker section to
package Linker is
for Default_Switches ("ada") use ("-Wl,-rpath,/usr/local/lib", "-L/Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow", "-ltensorflow_framework",
"-L/Ada_Source/cBound/tier-1/tensorflow/library/lib", "-lTensorFlow");
end Linker;

Re: Artificial Intelligence libraries in ADA

<tpotqv$190p5$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9215&group=comp.lang.ada#9215

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 23:18:54 +1100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <tpotqv$190p5$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me>
<qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
<tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me>
<ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me>
<624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Jan 2023 12:18:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b";
logging-data="1344293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RzYD/xg97GPoizdfjwiT5PcpMnIJWezc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:M2DpwrKVdAltSa8/HX4TjkEjIl0=
Content-Language: en-US
In-Reply-To: <77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>
 by: Rod Kay - Thu, 12 Jan 2023 12:18 UTC

On 12/1/23 22:28, Roger Mc wrote:
> My hello_tf link is failing with:
>
> gprbuild -d -eL -P/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr --config=/Ada_Source/default.cgpr -s
> Link
> [link] hello_tf.adb
> Undefined symbols for architecture x86_64:
> "_TF_AbortWhile", referenced from:
> _Ada_TF_AbortWhile in libTensorFlow.a(tensorflow_wrap.o)
> (maybe you meant: _Ada_TF_AbortWhile)
> etc.
>

Hmm, by 'etc' do you mean there are many more undefined symbols ? If so,
could you pastebin the entire output of the gprbuild command

> I have modified the hello_tf.gpr linker section to
> package Linker is
> for Default_Switches ("ada") use ("-Wl,-rpath,/usr/local/lib", "-L/Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow", "-ltensorflow_framework",
> "-L/Ada_Source/cBound/tier-1/tensorflow/library/lib", "-lTensorFlow");
> end Linker;

Maybe try adding "-ltensorflow" to the Linker 'Default_Switches', just
after the "-ltensorflow_framework" switch.

Re: Artificial Intelligence libraries in ADA

<946cc706-ac5e-4456-94bc-d5eebd77037cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9217&group=comp.lang.ada#9217

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:4615:0:b0:3ad:ad7a:9d60 with SMTP id p21-20020ac84615000000b003adad7a9d60mr441634qtn.132.1673560676006;
Thu, 12 Jan 2023 13:57:56 -0800 (PST)
X-Received: by 2002:ac8:720b:0:b0:3a6:18ff:c6c1 with SMTP id
a11-20020ac8720b000000b003a618ffc6c1mr4980681qtp.683.1673560675773; Thu, 12
Jan 2023 13:57:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 13:57:55 -0800 (PST)
In-Reply-To: <tpotqv$190p5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> <tpotqv$190p5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <946cc706-ac5e-4456-94bc-d5eebd77037cn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 21:57:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 35568
 by: Roger Mc - Thu, 12 Jan 2023 21:57 UTC

On Thursday, January 12, 2023 at 11:18:42 PM UTC+11, roda...@gmail.com wrote:
> On 12/1/23 22:28, Roger Mc wrote:
> > My hello_tf link is failing with:
> >
> > gprbuild -d -eL -P/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr --config=/Ada_Source/default.cgpr -s
> > Link
> > [link] hello_tf.adb
> > Undefined symbols for architecture x86_64:
> > "_TF_AbortWhile", referenced from:
> > _Ada_TF_AbortWhile in libTensorFlow.a(tensorflow_wrap.o)
> > (maybe you meant: _Ada_TF_AbortWhile)
> > etc.
> >
> Hmm, by 'etc' do you mean there are many more undefined symbols ? If so,
> could you pastebin the entire output of the gprbuild command

gprbuild -d -eL -P/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr --config=/Ada_Source/default.cgpr -s
Bind
[gprbind] hello_tf.bexch
[Ada] hello_tf.ali
Link
[link] hello_tf.adb
Undefined symbols for architecture x86_64:
"_TF_AbortWhile", referenced from:
_Ada_TF_AbortWhile in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AbortWhile)
"_TF_AddControlInput", referenced from:
_Ada_TF_AddControlInput in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AddControlInput)
"_TF_AddGradients", referenced from:
_Ada_TF_AddGradients in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AddGradientsWithPrefix, _Ada_TF_AddGradients )
"_TF_AddGradientsWithPrefix", referenced from:
_Ada_TF_AddGradientsWithPrefix in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AddGradientsWithPrefix)
"_TF_AddInput", referenced from:
_Ada_TF_AddInput in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AddInput, _Ada_TF_AddInputList )
"_TF_AddInputList", referenced from:
_Ada_TF_AddInputList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_AddInputList)
"_TF_ApiDefMapGet", referenced from:
_Ada_TF_ApiDefMapGet in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ApiDefMapGet)
"_TF_ApiDefMapPut", referenced from:
_Ada_TF_ApiDefMapPut in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ApiDefMapPut)
"_TF_CloseDeprecatedSession", referenced from:
_Ada_TF_CloseDeprecatedSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_CloseDeprecatedSession)
"_TF_CloseSession", referenced from:
_Ada_TF_CloseSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_CloseSession)
"_TF_ColocateWith", referenced from:
_Ada_TF_ColocateWith in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ColocateWith)
"_TF_DeleteApiDefMap", referenced from:
_Ada_TF_DeleteApiDefMap in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteApiDefMap)
"_TF_DeleteDeprecatedSession", referenced from:
_Ada_TF_DeleteDeprecatedSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteDeprecatedSession)
"_TF_DeleteDeviceList", referenced from:
_Ada_TF_DeleteDeviceList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteDeviceList)
"_TF_DeleteFunction", referenced from:
_Ada_TF_DeleteFunction in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteFunction)
"_TF_DeleteGraph", referenced from:
_Ada_TF_DeleteGraph in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteGraph)
"_TF_DeleteImportGraphDefOptions", referenced from:
_Ada_TF_DeleteImportGraphDefOptions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteImportGraphDefOptions)
"_TF_DeleteImportGraphDefResults", referenced from:
_Ada_TF_DeleteImportGraphDefResults in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteImportGraphDefResults)
"_TF_DeleteLibraryHandle", referenced from:
_Ada_TF_DeleteLibraryHandle in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteLibraryHandle)
"_TF_DeletePRunHandle", referenced from:
_Ada_TF_DeletePRunHandle in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeletePRunHandle)
"_TF_DeleteServer", referenced from:
_Ada_TF_DeleteServer in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteServer)
"_TF_DeleteSession", referenced from:
_Ada_TF_DeleteSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteSession, _Ada_TF_DeleteSessionOptions )
"_TF_DeleteSessionOptions", referenced from:
_Ada_TF_DeleteSessionOptions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeleteSessionOptions)
"_TF_DeprecatedSessionListDevices", referenced from:
_Ada_TF_DeprecatedSessionListDevices in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeprecatedSessionListDevices)
"_TF_DeviceListCount", referenced from:
_Ada_TF_DeviceListCount in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeviceListCount)
"_TF_DeviceListIncarnation", referenced from:
_Ada_TF_DeviceListIncarnation in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeviceListIncarnation)
"_TF_DeviceListMemoryBytes", referenced from:
_Ada_TF_DeviceListMemoryBytes in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeviceListMemoryBytes)
"_TF_DeviceListName", referenced from:
_Ada_TF_DeviceListName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeviceListName)
"_TF_DeviceListType", referenced from:
_Ada_TF_DeviceListType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_DeviceListType)
"_TF_ExtendGraph", referenced from:
_Ada_TF_ExtendGraph in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ExtendGraph)
"_TF_FinishOperation", referenced from:
_Ada_TF_FinishOperation in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FinishOperation, _Ada_TF_FinishOperationLocked )
"_TF_FinishOperationLocked", referenced from:
_Ada_TF_FinishOperationLocked in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FinishOperationLocked)
"_TF_FinishWhile", referenced from:
_Ada_TF_FinishWhile in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FinishWhile)
"_TF_FunctionGetAttrValueProto", referenced from:
_Ada_TF_FunctionGetAttrValueProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FunctionGetAttrValueProto)
"_TF_FunctionImportFunctionDef", referenced from:
_Ada_TF_FunctionImportFunctionDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FunctionImportFunctionDef)
"_TF_FunctionName", referenced from:
_Ada_TF_FunctionName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FunctionName)
"_TF_FunctionSetAttrValueProto", referenced from:
_Ada_TF_FunctionSetAttrValueProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FunctionSetAttrValueProto)
"_TF_FunctionToFunctionDef", referenced from:
_Ada_TF_FunctionToFunctionDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_FunctionToFunctionDef)
"_TF_GetAllOpList", referenced from:
_Ada_TF_GetAllOpList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GetAllOpList)
"_TF_GetAllRegisteredKernels", referenced from:
_Ada_TF_GetAllRegisteredKernels in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GetAllRegisteredKernels)
"_TF_GetOpList", referenced from:
_Ada_TF_GetOpList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GetOpList)
"_TF_GetRegisteredKernelsForOp", referenced from:
_Ada_TF_GetRegisteredKernelsForOp in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GetRegisteredKernelsForOp)
"_TF_GraphCopyFunction", referenced from:
_Ada_TF_GraphCopyFunction in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphCopyFunction)
"_TF_GraphGetFunctions", referenced from:
_Ada_TF_GraphGetFunctions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphGetFunctions)
"_TF_GraphGetOpDef", referenced from:
_Ada_TF_GraphGetOpDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphGetOpDef)
"_TF_GraphGetTensorNumDims", referenced from:
_Ada_TF_GraphGetTensorNumDims in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphGetTensorNumDims)
"_TF_GraphGetTensorShape", referenced from:
_Ada_TF_GraphGetTensorShape in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphGetTensorShape)
"_TF_GraphImportGraphDef", referenced from:
_Ada_TF_GraphImportGraphDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphImportGraphDef, _Ada_TF_GraphImportGraphDefWithReturnOutputs , _Ada_TF_GraphImportGraphDefWithResults )
"_TF_GraphImportGraphDefWithResults", referenced from:
_Ada_TF_GraphImportGraphDefWithResults in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphImportGraphDefWithResults)
"_TF_GraphImportGraphDefWithReturnOutputs", referenced from:
_Ada_TF_GraphImportGraphDefWithReturnOutputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphImportGraphDefWithReturnOutputs)
"_TF_GraphNextOperation", referenced from:
_Ada_TF_GraphNextOperation in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphNextOperation)
"_TF_GraphNumFunctions", referenced from:
_Ada_TF_GraphNumFunctions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphNumFunctions)
"_TF_GraphOperationByName", referenced from:
_Ada_TF_GraphOperationByName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphOperationByName)
"_TF_GraphSetTensorShape", referenced from:
_Ada_TF_GraphSetTensorShape in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphSetTensorShape)
"_TF_GraphToFunction", referenced from:
_Ada_TF_GraphToFunction in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphToFunctionWithControlOutputs, _Ada_TF_GraphToFunction )
"_TF_GraphToFunctionWithControlOutputs", referenced from:
_Ada_TF_GraphToFunctionWithControlOutputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphToFunctionWithControlOutputs)
"_TF_GraphToGraphDef", referenced from:
_Ada_TF_GraphToGraphDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphToGraphDef)
"_TF_GraphVersions", referenced from:
_Ada_TF_GraphVersions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_GraphVersions)
"_TF_ImportGraphDefOptionsAddControlDependency", referenced from:
_Ada_TF_ImportGraphDefOptionsAddControlDependency in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsAddControlDependency)
"_TF_ImportGraphDefOptionsAddInputMapping", referenced from:
_Ada_TF_ImportGraphDefOptionsAddInputMapping in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsAddInputMapping)
"_TF_ImportGraphDefOptionsAddReturnOperation", referenced from:
_Ada_TF_ImportGraphDefOptionsAddReturnOperation in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsAddReturnOperation)
"_TF_ImportGraphDefOptionsAddReturnOutput", referenced from:
_Ada_TF_ImportGraphDefOptionsAddReturnOutput in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsAddReturnOutput)
"_TF_ImportGraphDefOptionsNumReturnOperations", referenced from:
_Ada_TF_ImportGraphDefOptionsNumReturnOperations in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsNumReturnOperations)
"_TF_ImportGraphDefOptionsNumReturnOutputs", referenced from:
_Ada_TF_ImportGraphDefOptionsNumReturnOutputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsNumReturnOutputs)
"_TF_ImportGraphDefOptionsRemapControlDependency", referenced from:
_Ada_TF_ImportGraphDefOptionsRemapControlDependency in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsRemapControlDependency)
"_TF_ImportGraphDefOptionsSetDefaultDevice", referenced from:
_Ada_TF_ImportGraphDefOptionsSetDefaultDevice in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsSetDefaultDevice)
"_TF_ImportGraphDefOptionsSetPrefix", referenced from:
_Ada_TF_ImportGraphDefOptionsSetPrefix in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsSetPrefix)
"_TF_ImportGraphDefOptionsSetUniquifyNames", referenced from:
_Ada_TF_ImportGraphDefOptionsSetUniquifyNames in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsSetUniquifyNames)
"_TF_ImportGraphDefOptionsSetUniquifyPrefix", referenced from:
_Ada_TF_ImportGraphDefOptionsSetUniquifyPrefix in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefOptionsSetUniquifyPrefix)
"_TF_ImportGraphDefResultsMissingUnusedInputMappings", referenced from:
_Ada_TF_ImportGraphDefResultsMissingUnusedInputMappings in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefResultsMissingUnusedInputMappings)
"_TF_ImportGraphDefResultsReturnOperations", referenced from:
_Ada_TF_ImportGraphDefResultsReturnOperations in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefResultsReturnOperations)
"_TF_ImportGraphDefResultsReturnOutputs", referenced from:
_Ada_TF_ImportGraphDefResultsReturnOutputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ImportGraphDefResultsReturnOutputs)
"_TF_LoadLibrary", referenced from:
_Ada_TF_LoadLibrary in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_LoadLibrary)
"_TF_LoadSessionFromSavedModel", referenced from:
_Ada_TF_LoadSessionFromSavedModel in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_LoadSessionFromSavedModel)
"_TF_NewApiDefMap", referenced from:
_Ada_TF_NewApiDefMap in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewApiDefMap)
"_TF_NewDeprecatedSession", referenced from:
_Ada_TF_NewDeprecatedSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewDeprecatedSession)
"_TF_NewGraph", referenced from:
_Ada_TF_NewGraph in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewGraph)
"_TF_NewImportGraphDefOptions", referenced from:
_Ada_TF_NewImportGraphDefOptions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewImportGraphDefOptions)
"_TF_NewOperation", referenced from:
_Ada_TF_NewOperation in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewOperation, _Ada_TF_NewOperationLocked )
"_TF_NewOperationLocked", referenced from:
_Ada_TF_NewOperationLocked in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewOperationLocked)
"_TF_NewServer", referenced from:
_Ada_TF_NewServer in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewServer)
"_TF_NewSession", referenced from:
_Ada_TF_NewSession in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewSessionOptions, _Ada_TF_NewSession )
"_TF_NewSessionOptions", referenced from:
_Ada_TF_NewSessionOptions in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_NewSessionOptions)
"_TF_OperationAllInputs", referenced from:
_Ada_TF_OperationAllInputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationAllInputs)
"_TF_OperationDevice", referenced from:
_Ada_TF_OperationDevice in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationDevice)
"_TF_OperationGetAttrBool", referenced from:
_Ada_TF_OperationGetAttrBool in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrBoolList, _Ada_TF_OperationGetAttrBool )
"_TF_OperationGetAttrBoolList", referenced from:
_Ada_TF_OperationGetAttrBoolList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrBoolList)
"_TF_OperationGetAttrFloat", referenced from:
_Ada_TF_OperationGetAttrFloat in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrFloatList, _Ada_TF_OperationGetAttrFloat )
"_TF_OperationGetAttrFloatList", referenced from:
_Ada_TF_OperationGetAttrFloatList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrFloatList)
"_TF_OperationGetAttrInt", referenced from:
_Ada_TF_OperationGetAttrInt in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrIntList, _Ada_TF_OperationGetAttrInt )
"_TF_OperationGetAttrIntList", referenced from:
_Ada_TF_OperationGetAttrIntList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrIntList)
"_TF_OperationGetAttrMetadata", referenced from:
_Ada_TF_OperationGetAttrMetadata in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrMetadata)
"_TF_OperationGetAttrName", referenced from:
_Ada_TF_OperationGetAttrName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrNameLength, _Ada_TF_OperationGetAttrName )
"_TF_OperationGetAttrNameLength", referenced from:
_Ada_TF_OperationGetAttrNameLength in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationGetAttrNameLength)
"_TF_OperationGetAttrShape", referenced from:
_Ada_TF_OperationGetAttrShape in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrShapeList, _Ada_TF_OperationGetAttrShape )
"_TF_OperationGetAttrShapeList", referenced from:
_Ada_TF_OperationGetAttrShapeList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrShapeList)
"_TF_OperationGetAttrString", referenced from:
_Ada_TF_OperationGetAttrString in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrStringList, _Ada_TF_OperationGetAttrString )
"_TF_OperationGetAttrStringList", referenced from:
_Ada_TF_OperationGetAttrStringList in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationGetAttrStringList)
"_TF_OperationGetAttrTensor", referenced from:
_Ada_TF_OperationGetAttrTensor in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrTensorShapeProto, _Ada_TF_OperationGetAttrTensorList , _Ada_TF_OperationGetAttrTensorShapeProtoList , _Ada_TF_OperationGetAttrTensor )
"_TF_OperationGetAttrTensorList", referenced from:
_Ada_TF_OperationGetAttrTensorList in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationGetAttrTensorList)
"_TF_OperationGetAttrTensorShapeProto", referenced from:
_Ada_TF_OperationGetAttrTensorShapeProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrTensorShapeProto, _Ada_TF_OperationGetAttrTensorShapeProtoList )
"_TF_OperationGetAttrTensorShapeProtoList", referenced from:
_Ada_TF_OperationGetAttrTensorShapeProtoList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrTensorShapeProtoList)
"_TF_OperationGetAttrType", referenced from:
_Ada_TF_OperationGetAttrType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrType, _Ada_TF_OperationGetAttrTypeList )
"_TF_OperationGetAttrTypeList", referenced from:
_Ada_TF_OperationGetAttrTypeList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetAttrTypeList)
"_TF_OperationGetAttrValueProto", referenced from:
_Ada_TF_OperationGetAttrValueProto in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationGetAttrValueProto)
"_TF_OperationGetControlInputs", referenced from:
_Ada_TF_OperationGetControlInputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetControlInputs)
"_TF_OperationGetControlOutputs", referenced from:
_Ada_TF_OperationGetControlOutputs in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationGetControlOutputs)
"_TF_OperationGetNumAttrs", referenced from:
_Ada_TF_OperationGetNumAttrs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationGetNumAttrs)
"_TF_OperationInput", referenced from:
_Ada_TF_OperationInput in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationInput, _Ada_TF_OperationInputType , _Ada_TF_OperationInputListLength )
"_TF_OperationInputListLength", referenced from:
_Ada_TF_OperationInputListLength in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationInputListLength)
"_TF_OperationInputType", referenced from:
_Ada_TF_OperationInputType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationInputType)
"_TF_OperationName", referenced from:
_Ada_TF_OperationName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationName)
"_TF_OperationNumControlInputs", referenced from:
_Ada_TF_OperationNumControlInputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationNumControlInputs)
"_TF_OperationNumControlOutputs", referenced from:
_Ada_TF_OperationNumControlOutputs in libTensorFlow.a(tensorflow_wrap..o)
(maybe you meant: _Ada_TF_OperationNumControlOutputs)
"_TF_OperationNumInputs", referenced from:
_Ada_TF_OperationNumInputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationNumInputs)
"_TF_OperationNumOutputs", referenced from:
_Ada_TF_OperationNumOutputs in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationNumOutputs)
"_TF_OperationOpType", referenced from:
_Ada_TF_OperationOpType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationOpType)
"_TF_OperationOutputConsumers", referenced from:
_Ada_TF_OperationOutputConsumers in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationOutputConsumers)
"_TF_OperationOutputListLength", referenced from:
_Ada_TF_OperationOutputListLength in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationOutputListLength)
"_TF_OperationOutputNumConsumers", referenced from:
_Ada_TF_OperationOutputNumConsumers in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationOutputNumConsumers)
"_TF_OperationOutputType", referenced from:
_Ada_TF_OperationOutputType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationOutputType)
"_TF_OperationToNodeDef", referenced from:
_Ada_TF_OperationToNodeDef in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_OperationToNodeDef)
"_TF_PRun", referenced from:
_Ada_TF_PRun in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_PRunSetup, _Ada_TF_PRun )
"_TF_PRunSetup", referenced from:
_Ada_TF_PRunSetup in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_PRunSetup)
"_TF_RegisterFilesystemPlugin", referenced from:
_Ada_TF_RegisterFilesystemPlugin in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_RegisterFilesystemPlugin)
"_TF_Reset", referenced from:
_Ada_TF_Reset in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_Reset)
"_TF_Run", referenced from:
_Ada_TF_Run in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_Run)
"_TF_ServerJoin", referenced from:
_Ada_TF_ServerJoin in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ServerJoin)
"_TF_ServerStart", referenced from:
_Ada_TF_ServerStart in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ServerStart)
"_TF_ServerStop", referenced from:
_Ada_TF_ServerStop in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ServerStop)
"_TF_ServerTarget", referenced from:
_Ada_TF_ServerTarget in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_ServerTarget)
"_TF_SessionListDevices", referenced from:
_Ada_TF_SessionListDevices in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SessionListDevices)
"_TF_SessionPRun", referenced from:
_Ada_TF_SessionPRun in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SessionPRunSetup, _Ada_TF_SessionPRun )
"_TF_SessionPRunSetup", referenced from:
_Ada_TF_SessionPRunSetup in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SessionPRunSetup)
"_TF_SessionRun", referenced from:
_Ada_TF_SessionRun in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SessionRun)
"_TF_SetAttrBool", referenced from:
_Ada_TF_SetAttrBool in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrBool, _Ada_TF_SetAttrBoolList )
"_TF_SetAttrBoolList", referenced from:
_Ada_TF_SetAttrBoolList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrBoolList)
"_TF_SetAttrFloat", referenced from:
_Ada_TF_SetAttrFloat in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrFloatList, _Ada_TF_SetAttrFloat )
"_TF_SetAttrFloatList", referenced from:
_Ada_TF_SetAttrFloatList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrFloatList)
"_TF_SetAttrFuncName", referenced from:
_Ada_TF_SetAttrFuncName in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrFuncName)
"_TF_SetAttrInt", referenced from:
_Ada_TF_SetAttrInt in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrInt, _Ada_TF_SetAttrIntList )
"_TF_SetAttrIntList", referenced from:
_Ada_TF_SetAttrIntList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrIntList)
"_TF_SetAttrPlaceholder", referenced from:
_Ada_TF_SetAttrPlaceholder in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrPlaceholder)
"_TF_SetAttrShape", referenced from:
_Ada_TF_SetAttrShape in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrShapeList, _Ada_TF_SetAttrShape )
"_TF_SetAttrShapeList", referenced from:
_Ada_TF_SetAttrShapeList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrShapeList)
"_TF_SetAttrString", referenced from:
_Ada_TF_SetAttrString in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrStringList, _Ada_TF_SetAttrString )
"_TF_SetAttrStringList", referenced from:
_Ada_TF_SetAttrStringList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrStringList)
"_TF_SetAttrTensor", referenced from:
_Ada_TF_SetAttrTensor in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrTensorShapeProtoList, _Ada_TF_SetAttrTensor , _Ada_TF_SetAttrTensorShapeProto , _Ada_TF_SetAttrTensorList )
"_TF_SetAttrTensorList", referenced from:
_Ada_TF_SetAttrTensorList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrTensorList)
"_TF_SetAttrTensorShapeProto", referenced from:
_Ada_TF_SetAttrTensorShapeProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrTensorShapeProtoList, _Ada_TF_SetAttrTensorShapeProto )
"_TF_SetAttrTensorShapeProtoList", referenced from:
_Ada_TF_SetAttrTensorShapeProtoList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrTensorShapeProtoList)
"_TF_SetAttrType", referenced from:
_Ada_TF_SetAttrType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrType, _Ada_TF_SetAttrTypeList )
"_TF_SetAttrTypeList", referenced from:
_Ada_TF_SetAttrTypeList in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrTypeList)
"_TF_SetAttrValueProto", referenced from:
_Ada_TF_SetAttrValueProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetAttrValueProto)
"_TF_SetConfig", referenced from:
_Ada_TF_SetConfig in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetConfig)
"_TF_SetDevice", referenced from:
_Ada_TF_SetDevice in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetDevice)
"_TF_SetPayload", referenced from:
_Ada_TF_SetPayload in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetPayload)
"_TF_SetShape", referenced from:
_Ada_TF_SetShape in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetShape)
"_TF_SetTarget", referenced from:
_Ada_TF_SetTarget in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_SetTarget)
"_TF_StringAssignView", referenced from:
_Ada_TF_StringAssignView in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringAssignView)
"_TF_StringCopy", referenced from:
_Ada_TF_StringCopy in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringCopy)
"_TF_StringDealloc", referenced from:
_Ada_TF_StringDealloc in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringDealloc)
"_TF_StringGetCapacity", referenced from:
_Ada_TF_StringGetCapacity in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringGetCapacity)
"_TF_StringGetDataPointer", referenced from:
_Ada_TF_StringGetDataPointer in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringGetDataPointer)
"_TF_StringGetSize", referenced from:
_Ada_TF_StringGetSize in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringGetSize)
"_TF_StringGetType", referenced from:
_Ada_TF_StringGetType in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringGetType)
"_TF_StringInit", referenced from:
_Ada_TF_StringInit in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_StringInit)
"_TF_TensorFromProto", referenced from:
_Ada_TF_TensorFromProto in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_TensorFromProto)
"_TF_TryEvaluateConstant", referenced from:
_Ada_TF_TryEvaluateConstant in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_TryEvaluateConstant)
"_TF_UpdateEdge", referenced from:
_Ada_TF_UpdateEdge in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_UpdateEdge)
"_TF_Version", referenced from:
_Ada_TF_Version in libTensorFlow.a(tensorflow_wrap.o)
(maybe you meant: _Ada_TF_Version)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gprbuild: link of hello_tf.adb failed
gprbuild: failed command was: /usr/bin/clang++ hello_tf.o b__hello_tf.o /Ada_Source/cBound/tier-0/swig/library/build/swig.o /Ada_Source/cBound/tier-0/swig/library/build/swig-pointers.o /Ada_Source/cBound/tier-1/tensorflow/library/lib/libTensorFlow.a -Wl,-rpath,/usr/local/lib -L/Users/rogermcmurtrie/miniconda3/lib/python3.9/site-packages/tensorflow -ltensorflow_framework -L/Ada_Source/cBound/tier-1/tensorflow/library/lib -lTensorFlow -ltensorflow -L/Ada_Source/cBound/tier-1/tensorflow/applet/demo/
hello_tf/build/ -L/Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/build/ -L/Ada_Source/cBound/tier-1/tensorflow/library/objects/ -L/Ada_Source/cBound/tier-0/swig/library/build/ -L/opt/gnat-ce-2021/lib/gcc/x86_64-apple-darwin15/10.3.1/adalib/ /opt/gnat-ce-2021/lib/gcc/x86_64-apple-darwin15/10.3.1/adalib/libgnat.a -Wl,-rpath,/Users/rogermcmurtrie/miniconda3/lib/python3.9/site-packages/tensorflow -Wl,-rpath,@executable_path/../../..//library/lib -Wl,-rpath,@executable_path//build -Wl,-rpat
h,@executable_path/../../..//library/objects -Wl,-rpath,@executable_path/../../../../..//tier-0/swig/library/build -Wl,-rpath,/opt/gnat-ce-2021/lib/gcc/x86_64-apple-darwin15/10.3.1/adalib -o /Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf//hello_tf
[2023-01-13 08:31:12] process exited with status 4, 100% (14/14), elapsed time: 00.77s
..


Click here to read the complete article
Re: Artificial Intelligence libraries in ADA

<e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9218&group=comp.lang.ada#9218

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:2f07:b0:531:ce85:c6e8 with SMTP id od7-20020a0562142f0700b00531ce85c6e8mr1874678qvb.40.1673561396198;
Thu, 12 Jan 2023 14:09:56 -0800 (PST)
X-Received: by 2002:a05:6214:5693:b0:4c6:fe57:5b97 with SMTP id
lm19-20020a056214569300b004c6fe575b97mr5120885qvb.49.1673561395999; Thu, 12
Jan 2023 14:09:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 14:09:55 -0800 (PST)
In-Reply-To: <tpotqv$190p5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> <tpotqv$190p5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Thu, 12 Jan 2023 22:09:56 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3250
 by: Roger Mc - Thu, 12 Jan 2023 22:09 UTC

On Thursday, January 12, 2023 at 11:18:42 PM UTC+11, roda...@gmail.com wrote:
> On 12/1/23 22:28, Roger Mc wrote:

> > I have modified the hello_tf.gpr linker section to
> > package Linker is
> > for Default_Switches ("ada") use ("-Wl,-rpath,/usr/local/lib", "-L/Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow", "-ltensorflow_framework",
> > "-L/Ada_Source/cBound/tier-1/tensorflow/library/lib", "-lTensorFlow");
> > end Linker;
> Maybe try adding "-ltensorflow" to the Linker 'Default_Switches', just
> after the "-ltensorflow_framework" switch.

Adding "-ltensorflow" didn't work as my tensorflow installation doesn't have any libtensorflow libraries.

I tried installing a new version of tensor flow via pip install tensorflow and checked that it had installed correctly as described by the installation instructions.
The new version still only contains the following libraries
libtensorflow_framework.2.6.5.dylib
libtensorflow_framework.2.dylib
libtensorflow_framework.dylib

Today, I'll try getting hello_tf to work on my Ventura machine using a brew installation of tensorflow.
Brew installation of tensorflow under High Sierra fails.
Regards,
Roger

Re: Artificial Intelligence libraries in ADA

<def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9219&group=comp.lang.ada#9219

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:1a88:b0:3ab:a89b:56b6 with SMTP id s8-20020a05622a1a8800b003aba89b56b6mr2144489qtc.213.1673568744414;
Thu, 12 Jan 2023 16:12:24 -0800 (PST)
X-Received: by 2002:a0c:b28b:0:b0:534:85b6:474c with SMTP id
r11-20020a0cb28b000000b0053485b6474cmr7801qve.30.1673568744225; Thu, 12 Jan
2023 16:12:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 16:12:23 -0800 (PST)
In-Reply-To: <e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> <tpotqv$190p5$1@dont-email.me>
<e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Fri, 13 Jan 2023 00:12:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2655
 by: Roger Mc - Fri, 13 Jan 2023 00:12 UTC

On Friday, January 13, 2023 at 9:09:57 AM UTC+11, Roger Mc wrote:
> Today, I'll try getting hello_tf to work on my Ventura machine using a brew installation of tensorflow.

Good news!
hello_tf works under my OSX Ventura after a bit of adjustment.

I didn't need to change the linker settings.
Tensorflow installed by Brew includes
libtensorflow_framework.dylib and
libtensorflow.so

-ltensorflow presumably linked to libtensorflow.so
A bit strange as I thought that Apple had deprecated so files long ago.

> Regards,
> Roger

Re: Artificial Intelligence libraries in ADA

<24f101a2-8206-4449-9eba-cca0822ff9dfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9220&group=comp.lang.ada#9220

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:4720:b0:6ff:7cbe:36df with SMTP id bs32-20020a05620a472000b006ff7cbe36dfmr5656466qkb.659.1673570447025;
Thu, 12 Jan 2023 16:40:47 -0800 (PST)
X-Received: by 2002:a05:620a:1a8c:b0:6ff:100b:39d8 with SMTP id
bl12-20020a05620a1a8c00b006ff100b39d8mr3632519qkb.596.1673570446850; Thu, 12
Jan 2023 16:40:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 12 Jan 2023 16:40:46 -0800 (PST)
In-Reply-To: <def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 118.208.176.39
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<qg52qq$puv$1@dont-email.me> <qg6p8g$v9q$1@dont-email.me> <qg7pa7$bvn$1@dont-email.me>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com> <tkjia8$j6o3$1@dont-email.me>
<tkjiuu$1b9a$1@gioia.aioe.org> <tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com> <tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com> <a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me> <ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> <tpotqv$190p5$1@dont-email.me>
<e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com> <def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <24f101a2-8206-4449-9eba-cca0822ff9dfn@googlegroups.com>
Subject: Re: Artificial Intelligence libraries in ADA
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Fri, 13 Jan 2023 00:40:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2649
 by: Roger Mc - Fri, 13 Jan 2023 00:40 UTC

On Friday, January 13, 2023 at 11:12:25 AM UTC+11, Roger Mc wrote:
> On Friday, January 13, 2023 at 9:09:57 AM UTC+11, Roger Mc wrote:
> > Today, I'll try getting hello_tf to work on my Ventura machine using a brew installation of tensorflow.
> Good news!
> hello_tf works under my OSX Ventura after a bit of adjustment.

All I need now is a few clues on how to use the bindings.
For example, how to implement:
mnist = tf.keras.datasets.mnist

Regards,
Roger

Re: Artificial Intelligence libraries in ADA

<tpr0kv$1i5qp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9221&group=comp.lang.ada#9221

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Artificial Intelligence libraries in ADA
Date: Fri, 13 Jan 2023 18:19:13 +1100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tpr0kv$1i5qp$1@dont-email.me>
References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com>
<f715b416-1594-4632-90db-eb37587fc45dn@googlegroups.com>
<tkjia8$j6o3$1@dont-email.me> <tkjiuu$1b9a$1@gioia.aioe.org>
<tkl7k9$qqd5$1@dont-email.me>
<ab86af17-485c-4fa0-bafb-268b84a33c43n@googlegroups.com>
<tplla5$qo2c$1@dont-email.me>
<9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com>
<tpo467$16i1o$1@dont-email.me>
<dce21f8c-6888-4303-8504-c5e4a930f777n@googlegroups.com>
<a61108ae-dc29-49f4-b637-44e234e7a280n@googlegroups.com>
<8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com>
<29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com>
<tpoepg$17g77$1@dont-email.me>
<ed28715d-1c78-482b-94ef-98dc2d2e78dcn@googlegroups.com>
<tponjk$18bam$1@dont-email.me>
<624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com>
<77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com>
<tpotqv$190p5$1@dont-email.me>
<e7568757-3e02-4f61-a72c-db12f2d72670n@googlegroups.com>
<def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 13 Jan 2023 07:18:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4c69ddc0a00b3eef55184b14ab219b8b";
logging-data="1644377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sAuWX1E9ykcbkJLSpkkr354CoV0NdKkk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:9ndoSukLRAwNXzIkUQUCa+8PWkU=
In-Reply-To: <def76adf-56a7-44f6-9e60-9828892e7e77n@googlegroups.com>
Content-Language: en-US
 by: Rod Kay - Fri, 13 Jan 2023 07:19 UTC

On 13/1/23 11:12, Roger Mc wrote:
> On Friday, January 13, 2023 at 9:09:57 AM UTC+11, Roger Mc wrote:
>> Today, I'll try getting hello_tf to work on my Ventura machine using a brew installation of tensorflow.
>
> Good news!
> hello_tf works under my OSX Ventura after a bit of adjustment.
>

Good news indeed :) .

> I didn't need to change the linker settings.
> Tensorflow installed by Brew includes
> libtensorflow_framework.dylib and
> libtensorflow.so

Would you able to send me a patch file for the bits which did need
adjusting, so I can add it to the cBound repo ?

>
> -ltensorflow presumably linked to libtensorflow.so
> A bit strange as I thought that Apple had deprecated so files long ago.

I'm afraid I don't know anything about Apple or MacOS except a vague
notion that it was based on one of the BSD's ?


devel / comp.lang.ada / Re: Artificial Intelligence libraries in ADA

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor