Skip to content

Commit

Permalink
deploy: 1a33588
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Dec 30, 2024
1 parent 1514179 commit 965e301
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion dev/arrayjit/Arrayjit/Tnode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<span><span class="label">label</span>:<span><span class="xref-unresolved">Base</span>.String.t <span class="xref-unresolved">Base</span>.List.t</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">dims</span>:<span><span><span class="xref-unresolved">Base</span>.int <span class="xref-unresolved">Base</span>.array</span> <a href="../Utils/Lazy/index.html#type-t">Lazy.t</a></span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Ops/index.html#type-init_op">Ops.init_op</a> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-find"><a href="#val-find" class="anchor"></a><code><span><span class="keyword">val</span> find : <span><span class="label">id</span>:<span class="xref-unresolved">Base</span>.int <span class="arrow">&#45;&gt;</span></span> <span><a href="Registry/index.html#type-data">Registry.data</a> option</span></span></code></div></div><h3 id="accessors"><a href="#accessors" class="anchor"></a>Accessors</h3><div class="odoc-spec"><div class="spec value anchored" id="val-points_1d"><a href="#val-points_1d" class="anchor"></a><code><span><span class="keyword">val</span> points_1d :
<a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-find"><a href="#val-find" class="anchor"></a><code><span><span class="keyword">val</span> find : <span><span class="label">id</span>:<span class="xref-unresolved">Base</span>.int <span class="arrow">&#45;&gt;</span></span> <span><a href="Registry/index.html#type-data">Registry.data</a> option</span></span></code></div></div><h3 id="accessors"><a href="#accessors" class="anchor"></a>Accessors</h3><div class="odoc-spec"><div class="spec value anchored" id="val-do_read"><a href="#val-do_read" class="anchor"></a><code><span><span class="keyword">val</span> do_read : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-do_write"><a href="#val-do_write" class="anchor"></a><code><span><span class="keyword">val</span> do_write : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-points_1d"><a href="#val-points_1d" class="anchor"></a><code><span><span class="keyword">val</span> points_1d :
<span><span class="optlabel">?from_axis</span>:<span class="xref-unresolved">Base__Int</span>.t <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">xdim</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span>
Expand Down
4 changes: 3 additions & 1 deletion dev/neural_nets_lib/Ocannl/Tensor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,16 @@
<span><span class="optlabel">?single_node</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?entries_per_axis</span>:<span class="xref-unresolved">Base</span>.int <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_id</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?spy</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_shape</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_value</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">with_grad</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">depth</span>:<span class="xref-unresolved">Base</span>.int <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">PrintBox</span>.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-print"><a href="#val-print" class="anchor"></a><code><span><span class="keyword">val</span> print :
<span><span class="optlabel">?spy</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">with_grad</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">with_code</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?force</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_low_level</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-array_print_style">array_print_style</a> <span class="arrow">&#45;&gt;</span></span>
<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span>
Expand All @@ -117,6 +118,7 @@
<span><span class="optlabel">?entries_per_axis</span>:<span class="xref-unresolved">Base</span>.int <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_backend_info</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_id</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?spy</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_shape</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?with_value</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">with_grad</span>:<span class="xref-unresolved">Base</span>.bool <span class="arrow">&#45;&gt;</span></span>
Expand Down
24 changes: 1 addition & 23 deletions dev/neural_nets_lib/Ocannl/Train/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,7 @@
<span><span>(<span class="type-var">'buffer_ptr</span>, <span class="type-var">'dev</span>, <span class="type-var">'runner</span>, <span class="type-var">'event</span>)</span> <span class="xref-unresolved">Arrayjit__Backend_intf.stream_ref</span></span>)</span>
<span class="xref-unresolved">Arrayjit__Backend_intf.context</span></span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Tensor/index.html#type-t">Tensor.t</a> <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Base</span>.unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-all_device_to_host"><a href="#val-all_device_to_host" class="anchor"></a><code><span><span class="keyword">val</span> all_device_to_host :
<span><span>(<span class="keyword">module</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html">Backend</a>
<span class="keyword">with</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-buffer_ptr">buffer_ptr</a> = <span class="type-var">'buffer_ptr</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-dev">dev</a> = <span class="type-var">'dev</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-event">event</a> = <span class="type-var">'event</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-runner">runner</a> = <span class="type-var">'runner</span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(<span class="type-var">'buffer_ptr</span>,
<span><span>(<span class="type-var">'buffer_ptr</span>, <span class="type-var">'dev</span>, <span class="type-var">'runner</span>, <span class="type-var">'event</span>)</span> <span class="xref-unresolved">Arrayjit__Backend_intf.stream_ref</span></span>)</span>
<span class="xref-unresolved">Arrayjit__Backend_intf.context</span></span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Tensor/index.html#type-t">Tensor.t</a> <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Base</span>.unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sync_run"><a href="#val-sync_run" class="anchor"></a><code><span><span class="keyword">val</span> sync_run :
<span><span class="optlabel">?looping</span>:<span>(<span>unit <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Base</span>.unit)</span> <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span class="keyword">module</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html">Backend</a>
<span class="keyword">with</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-buffer_ptr">buffer_ptr</a> = <span class="type-var">'buffer_ptr</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-dev">dev</a> = <span class="type-var">'dev</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-event">event</a> = <span class="type-var">'event</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-runner">runner</a> = <span class="type-var">'runner</span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span><span><span><span>(<span class="type-var">'buffer_ptr</span>,
<span><span>(<span class="type-var">'buffer_ptr</span>, <span class="type-var">'dev</span>, <span class="type-var">'runner</span>, <span class="type-var">'event</span>)</span> <span class="xref-unresolved">Arrayjit__Backend_intf.stream_ref</span></span>)</span>
<span class="xref-unresolved">Arrayjit__Backend_intf.context</span></span>
<a href="../../../arrayjit/Arrayjit/Backend_intf/index.html#type-routine">BT.routine</a></span> <span class="arrow">&#45;&gt;</span></span>
<span><a href="../Tensor/index.html#type-t">Tensor.t</a> <span class="arrow">&#45;&gt;</span></span>
<span class="xref-unresolved">Base</span>.unit</span></code></div><div class="spec-doc"><p>Executes the jitted code and copies arrays embedded in the given tenosor from and to host, synchronizes before copying to host. If <code>looping</code> is provided, loops over bindings and executes the given function inside the loop after a run. All and only bindings with associated ranges are iterated, with the binding's initial value lost. Bindings without ranges remain at their initial values.</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Lazy"><a href="#module-Lazy" class="anchor"></a><code><span><span class="keyword">module</span> Lazy</span><span> = <a href="../../../arrayjit/Arrayjit/Utils/Lazy/index.html">Utils.Lazy</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parallel_update"><a href="#val-parallel_update" class="anchor"></a><code><span><span class="keyword">val</span> parallel_update :
<span class="xref-unresolved">Base</span>.unit</span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Lazy"><a href="#module-Lazy" class="anchor"></a><code><span><span class="keyword">module</span> Lazy</span><span> = <a href="../../../arrayjit/Arrayjit/Utils/Lazy/index.html">Utils.Lazy</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parallel_update"><a href="#val-parallel_update" class="anchor"></a><code><span><span class="keyword">val</span> parallel_update :
<span><span>(<span class="keyword">module</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html">Backend</a>
<span class="keyword">with</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-buffer_ptr">buffer_ptr</a> = <span class="type-var">'buffer_ptr</span>
<span class="keyword">and</span> <span class="keyword">type</span> <a href="../../../arrayjit/Arrayjit/Backend_intf/module-type-Backend/index.html#type-dev">dev</a> = <span class="type-var">'dev</span>
Expand Down

0 comments on commit 965e301

Please sign in to comment.