ocannl

OCANNL is sponsored by Ahrefs! Visit the Ahrefs website.

OCANNL -- OCaml Compiles Algorithms for Neural Networks Learning

Upcoming milestones

On the critical path for the next major release v0.4:

Releases

For more details, see CHANGES.

Why not just use OWL?

OCANNL follows different design choices than OWL. For example:

Installation

Although the project is called ocannl, the main package is called neural_nets_lib, to avoid the (opam linter's) complaint that the name can be confused with other packages. This also clarifies that ocannl is composed of arrayjit and neural_nets_lib.

The dependency on ocaml-cudajit is optional, so you have to install it first to enable the Cuda backend.

Usage

After you get some basic grasp of the aims and design of the project by reading files in test/ and bin/, you can improve your understanding by reading lib/shape.mli, lib/tensor.mli, lib/operation.ml and lib/train.ml.