package neural_nets_lib

  1. Overview
  2. Docs
A from-scratch Deep Learning framework with an optimizing compiler, shape inference, concise syntax

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.1.1.tar.gz
md5=b7618f68bb78540cbef30a35e9f127b6
sha512=eb42fde46a0c29a7a2db1de361af3b35991b1eb05501536cc5f72dcf3225f5305559295824935f4d6a9c0a2bf7b64f061c8304143f28cccc1baa745e4599792e

doc/src/ppx_ocannl/ppx_ocannl.ml.html

Source file ppx_ocannl.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
open Base
open Ppxlib

let rules =
  [
    Ppxlib.Context_free.Rule.extension
    @@ Extension.declare "cd" Extension.Context.expression Ast_pattern.(single_expr_payload __)
    @@ Ppx_cd.expr_expander;
    Ppxlib.Context_free.Rule.extension
    @@ Extension.declare "cd" Extension.Context.structure_item
         Ast_pattern.(pstr __)
         Ppx_cd.str_expander;
    Ppxlib.Context_free.Rule.extension
    @@ Extension.declare "op" Extension.Context.expression
         Ast_pattern.(single_expr_payload __)
         Ppx_op.expr_expander;
    Ppxlib.Context_free.Rule.extension
    @@ Extension.declare "op" Extension.Context.structure_item
         Ast_pattern.(pstr __)
         Ppx_op.str_expander;
  ]

let () = Driver.register_transformation ~rules "ppx_ocannl"
OCaml

Innovation. Community. Security.