From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id EC0297F026 for ; Thu, 10 Mar 2016 18:54:18 +0100 (CET) IronPort-PHdr: 9a23:f1WMVhastliiUzsPhHAWMLX/LSx+4OfEezUN459isYplN5qZpcW4bnLW6fgltlLVR4KTs6sC0LqJ9fCwEj1Qqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7/0q82YMlUArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZoGJ/3dKUgTLFeEC9ucyVsvJWq5i/4UBCX63AAfmITmxtOS0iZvVCpFqv25w77su019CCEPNa+Gbw9RzW5qaJqTDfolTwEJng//XyRh8Bt2vF1uhWk8iBlypDVe8nBKOB3YKLGO9kATGZQdslUXi1FRIi7at1cXKI6Ie9Eotyl9BM1phykCFzpWbri Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=travis.brady@gmail.com; spf=Pass smtp.mailfrom=travis.brady@gmail.com; spf=None smtp.helo=postmaster@mail-vk0-f49.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of travis.brady@gmail.com) identity=pra; client-ip=209.85.213.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="travis.brady@gmail.com"; x-sender="travis.brady@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of travis.brady@gmail.com designates 209.85.213.49 as permitted sender) identity=mailfrom; client-ip=209.85.213.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="travis.brady@gmail.com"; x-sender="travis.brady@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vk0-f49.google.com) identity=helo; client-ip=209.85.213.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="travis.brady@gmail.com"; x-sender="postmaster@mail-vk0-f49.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BPAACHs+FWizHVVdFeDoQCbQaqIYVUimYBDYFtI4UyOgKBPAc4FAEBAQEBAQEBEAEBAQgLCwkfMYItghQBAQEDARIRHQEbEgIJAQMBCwYFCw0NHQICIgERAQUBChIGExIICIdsAQMKCA6gGYExPjGLNoFqgleFSwoZJwMKUYNuAQEBAQEBAQMBAQEBAQEBARIBBQoFikuCMyAHKIFlglOBOgWGHgyHfYkVgg6DXIgOgi92i1qNLBEegQ8PDwEBgjgegRVaHS4BAQOJTgEBAQ X-IPAS-Result: A0BPAACHs+FWizHVVdFeDoQCbQaqIYVUimYBDYFtI4UyOgKBPAc4FAEBAQEBAQEBEAEBAQgLCwkfMYItghQBAQEDARIRHQEbEgIJAQMBCwYFCw0NHQICIgERAQUBChIGExIICIdsAQMKCA6gGYExPjGLNoFqgleFSwoZJwMKUYNuAQEBAQEBAQMBAQEBAQEBARIBBQoFikuCMyAHKIFlglOBOgWGHgyHfYkVgg6DXIgOgi92i1qNLBEegQ8PDwEBgjgegRVaHS4BAQOJTgEBAQ X-IronPort-AV: E=Sophos;i="5.24,316,1454972400"; d="scan'208,217";a="168057198" Received: from mail-vk0-f49.google.com ([209.85.213.49]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 10 Mar 2016 18:54:17 +0100 Received: by mail-vk0-f49.google.com with SMTP id c3so104857249vkb.3; Thu, 10 Mar 2016 09:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=bBD8n464NWyzaPNMREQ8s74x2ytqcRQSpDXmFztGOLs=; b=T6lP4jEytKIkqC2PnkD+nE73BItfLCvv+dAaMV4B5iPSxi6A4EHYYO6vwJi80lsVsG vnfSHWIvUrstiSkom87ignzIOUR3cd+R5pKZ0hcbzXqyG8+j27/d87SXoZkg6DgdnJuc B1YY8Ft8W6mEIgW/TriQ+tIAlEtwghPrPPyAmMjgod21gL+EiKeqwL+rT2KEBdF9hSS7 YsKwwzkVfwtynAZE1Xu8gSVQCoVqV2QqMZHXYWOEzmgitcBhF3YQD+xpS/DZ/8adcX3h +8PwPFYKy4gUVYd/q1NdacFJpsXQ64dIfLX0r2pmupKL+Z5NEbDFCMifkBPwYWlB0Sze U01A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=bBD8n464NWyzaPNMREQ8s74x2ytqcRQSpDXmFztGOLs=; b=CuRHDA186c59iS8e60n17fuRa6OmB/PYtzp7CuzihhQuputvp7RNCTNq3HsikqGcOV dU5bMBCl0ov6Co7D+jq+Pq7OehxOgXx1eaA1ShjCrd2jXl+cW+jvi8mdcmhCdOYrzD5F CyIsKOFAfu45YnynA2BOjP0QN2G6nyebLuofNCrf6GBErFBBUyLnoOHsRewGQVSVMlXl GQDlrGu6nDYp3bfnpcKPSbIELISIJi7Ld7DWih3dh61emaEyJgVdfcRIWPzJH/VXgdjN Hi5NZ+1prkQhy6Nl2H7q/R6KFq1i03L/EHRPEz+EIpYAmLHsDn7jSNV1Urm0+S7B8z9O fEZw== X-Gm-Message-State: AD7BkJJvqy5mYDAx6rfgKwo4qYPXxYBpE2Azau2N7d9bQcpSMHG09P38gLNOAVXFTEcblmyEPtNhNDyBlLzwoA== MIME-Version: 1.0 X-Received: by 10.31.7.140 with SMTP id 134mr5096163vkh.155.1457632456485; Thu, 10 Mar 2016 09:54:16 -0800 (PST) Received: by 10.31.155.68 with HTTP; Thu, 10 Mar 2016 09:54:16 -0800 (PST) In-Reply-To: References: <56E18D54.2010306@inria.fr> Date: Thu, 10 Mar 2016 11:54:16 -0600 Message-ID: From: Travis To: Milo Davis Cc: Francois Berenger , O Caml Content-Type: multipart/alternative; boundary=001a1143f252c83149052db5807a Subject: Re: [Caml-list] Tensorflow bindings for OCaml --001a1143f252c83149052db5807a Content-Type: text/plain; charset=UTF-8 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 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 >> > > --001a1143f252c83149052db5807a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've wanted the same and have kicked around the idea o= f binding to mxnet via ctypes. =C2=A0





On Thu, Mar 10, 2016 at 11:43 AM, Milo Davis <davis= .mil@husky.neu.edu> wrote:
=
Okay.=C2=A0 I'll see what needs to be done to wrap the= C++ code.=C2=A0 Google recommends using Swig.=C2=A0 Does anyone have any a= dvice about using it to wrap C++?

On Thu, Mar 1= 0, 2016 at 10:05 AM, Francois Berenger <francois.berenger@inria.f= r> wrote:
On 03/10/20= 16 03:19 AM, Milo Davis wrote:
Are there Tensorflow bindings for OCaml?=C2=A0 I've looked around the internet and can't find any, but I'd like to double check before tr= ying
to build my own.=C2=A0 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=3Dneurocaml

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:

ht= tp://caml.inria.fr/pub/ml-archives/caml-list/1997\/10/e3746cfab892fc757d0d8= abcbcc13420.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.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocam= l_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


--001a1143f252c83149052db5807a--