caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Travis <travis.brady@gmail.com>
To: Milo Davis <davis.mil@husky.neu.edu>
Cc: Francois Berenger <francois.berenger@inria.fr>,
	O Caml <caml-list@inria.fr>
Subject: Re: [Caml-list] Tensorflow bindings for OCaml
Date: Thu, 10 Mar 2016 11:54:16 -0600	[thread overview]
Message-ID: <CABHK4nWR9OtZde=iPTzTJSG-y_krcP5=zKABPX4a-TjX-Vx=8g@mail.gmail.com> (raw)
In-Reply-To: <CAOqWbpU+xBh8MVFRLqKNvFU3dGJN6eEueoDLBhvunXZHLa8Y=A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2262 bytes --]

I've wanted the same and have kicked around the idea of binding to mxnet
via ctypes.

Here is mxnet's c api if you're curious:
https://github.com/dmlc/mxnet/blob/7773549f5a96eb844d34a3c7814610d4ca26c994/include/mxnet/c_api.h

You might also have a look at
https://medium.com/jim-fleming/loading-a-tensorflow-graph-with-the-c-api-4caaff88463f#.2cxtvz6gd



On Thu, Mar 10, 2016 at 11:43 AM, Milo Davis <davis.mil@husky.neu.edu>
wrote:

> Okay.  I'll see what needs to be done to wrap the C++ code.  Google
> recommends using Swig.  Does anyone have any advice about using it to wrap
> C++?
>
> On Thu, Mar 10, 2016 at 10:05 AM, Francois Berenger <
> francois.berenger@inria.fr> wrote:
>
>> On 03/10/2016 03:19 AM, Milo Davis wrote:
>>
>>> Are there Tensorflow bindings for OCaml?  I've looked around the
>>> internet and can't find any, but I'd like to double check before trying
>>> to build my own.  If not, does anyone have any suggestions for an
>>> alternative framework for neural networks in OCaml?
>>>
>>
>> Recently, I was looking for some Kohonen Self Organizing Map (SOM)
>> library in OCaml and I didn't find one.
>>
>> In opam, it looks like there is nothing related to neural networks
>> or I missed it.
>> This smells like a bad news (as in "nothing mature out there").
>>
>> It looks like I will have to use R the day I really need to use SOM maps.
>>
>> Here is what I found however:
>>
>> https://code.google.com/archive/p/ocaml-onnt/
>>
>> http://cvs.savannah.gnu.org/viewvc/neurocaml/src/?root=neurocaml
>>
>> Article 71 in the OCaml Journal (not free, unfortunately):
>>
>> http://www.ffconsultancy.com/products/ocaml_journal/index.html
>>
>> An interesting e-mail but with dead links:
>>
>>
>> http://caml.inria.fr/pub/ml-archives/caml-list/1997\/10/e3746cfab892fc757d0d8abcbcc13420.fr.html
>>
>> If we had at least some bindings in opam to a high quality neural
>> networks library, that would be useful to several people ...
>>
>> --
>> Regards,
>> Francois.
>> "When in doubt, use more types"
>>
>> --
>> Caml-list mailing list.  Subscription management and archives:
>> https://sympa.inria.fr/sympa/arc/caml-list
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs
>>
>
>

[-- Attachment #2: Type: text/html, Size: 4235 bytes --]

  reply	other threads:[~2016-03-10 17:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  2:19 Milo Davis
2016-03-10 15:05 ` Francois Berenger
2016-03-10 17:43   ` Milo Davis
2016-03-10 17:54     ` Travis [this message]
2016-03-10 19:58     ` Jesper Louis Andersen
2016-03-29 16:01       ` Laurent Mazare
2016-03-30 15:12         ` Jesper Louis Andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHK4nWR9OtZde=iPTzTJSG-y_krcP5=zKABPX4a-TjX-Vx=8g@mail.gmail.com' \
    --to=travis.brady@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=davis.mil@husky.neu.edu \
    --cc=francois.berenger@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).