Skip to content

Commit

Permalink
deploy: 678649d
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 17, 2024
1 parent a5e9183 commit 80955c9
Show file tree
Hide file tree
Showing 18 changed files with 289 additions and 297 deletions.
4 changes: 2 additions & 2 deletions autograd.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -805,7 +805,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#add_gate">fn add_gate</a> <ul>
</ul>
Expand Down
22 changes: 11 additions & 11 deletions datasets.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -109,7 +109,7 @@
<div class="doc-content">
<section id="readme_datasets" class="doc-node">
<div class="title"><h1> datasets <a href="#readme_datasets">#</a></h1></div>
<h1>VTL Datasets</h1><p>This module exposes some functionalities to download and use the VTL datasets. For this we created some batch based iterators to load the datasets.We expose the following datasets:</p><ul><li><strong>Mnist</strong>: A dataset of handwritten digits. - <strong>Imdb</strong>: A dataset of IMDB reviews for sentiment analysis.</li></ul>
<h1>VTL Datasets</h1><p>This module exposes some functionalities to download and use the VTL datasets. For this we created some batch based iterators to load the datasets. We expose the following datasets:</p><ul><li><strong>Mnist</strong>: A dataset of handwritten digits.</li><li><strong>Imdb</strong>: A dataset of IMDB reviews for sentiment analysis.</li></ul>

</section>

Expand All @@ -121,56 +121,56 @@ <h1>VTL Datasets</h1><p>This module exposes some functionalities to download and

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> imdb_folder_name <span class="token operator">=</span> <span class="token string">'aclImdb'</span></code></pre>
<code><span class="token keyword">const</span> mnist_test_labels_file <span class="token operator">=</span> <span class="token string">'t10k-labels-idx1-ubyte.gz'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> imdb_file_name <span class="token operator">=</span><span class="token string">'</span><span class="token string_interp">$</span>{imdb_folder_name}<span class="token string">_v1.tar.gz'</span></code></pre>
<code><span class="token keyword">const</span> mnist_test_images_file <span class="token operator">=</span> <span class="token string">'t10k-images-idx3-ubyte.gz'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> imdb_base_url <span class="token operator">=</span> <span class="token string">'http://ai.stanford.edu/~amaas/data/sentiment/'</span></code></pre>
<code><span class="token keyword">const</span> mnist_train_labels_file <span class="token operator">=</span> <span class="token string">'train-labels-idx1-ubyte.gz'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> mnist_base_url <span class="token operator">=</span> <span class="token string">'http://yann.lecun.com/exdb/mnist/'</span></code></pre>
<code><span class="token keyword">const</span> mnist_train_images_file <span class="token operator">=</span> <span class="token string">'train-images-idx3-ubyte.gz'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> mnist_train_images_file <span class="token operator">=</span> <span class="token string">'train-images-idx3-ubyte.gz'</span></code></pre>
<code><span class="token keyword">const</span> mnist_base_url <span class="token operator">=</span> <span class="token string">'http://yann.lecun.com/exdb/mnist/'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> mnist_train_labels_file <span class="token operator">=</span> <span class="token string">'train-labels-idx1-ubyte.gz'</span></code></pre>
<code><span class="token keyword">const</span> imdb_base_url <span class="token operator">=</span> <span class="token string">'http://ai.stanford.edu/~amaas/data/sentiment/'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> mnist_test_images_file <span class="token operator">=</span> <span class="token string">'t10k-images-idx3-ubyte.gz'</span></code></pre>
<code><span class="token keyword">const</span> imdb_file_name <span class="token operator">=</span><span class="token string">'</span><span class="token string_interp">$</span>{imdb_folder_name}<span class="token string">_v1.tar.gz'</span></code></pre>


</section>

<section id="" class="doc-node const">
<pre class="signature">
<code><span class="token keyword">const</span> mnist_test_labels_file <span class="token operator">=</span> <span class="token string">'t10k-labels-idx1-ubyte.gz'</span></code></pre>
<code><span class="token keyword">const</span> imdb_folder_name <span class="token operator">=</span> <span class="token string">'aclImdb'</span></code></pre>


</section>
Expand Down Expand Up @@ -220,7 +220,7 @@ <h1>VTL Datasets</h1><p>This module exposes some functionalities to download and
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#readme_datasets">README</a></li>
<li class="open"><a href="#Constants">Constants</a></li>
Expand Down
12 changes: 5 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -107,22 +107,20 @@
<div class="doc-scrollview" tabindex="-1" id="main-content">
<div class="doc-container">
<div class="doc-content">
<section id="README" class="doc-node">
<div class="title"><h1> README</h1></div>
<section id="readme_README" class="doc-node">
<div class="title"><h1> README <a href="#readme_README">#</a></h1></div>
<div align="center"> <p> <img style="width: 200px" width="200" src="https://github.com/vlang/vtl/blob/main/static/vtl-logo.png?sanitize=true&raw=true" > </p> <h1>The V Tensor Library</h1>
<p><a href="https://vlang.io">vlang.io</a> | <a href="https://vlang.github.io/vtl">Docs</a> | <a href="https://github.com/vlang/vtl/blob/main/docs/TUTORIAL.md">Tutorials</a> | <a href="#">Changelog</a> | <a href="https://github.com/vlang/vtl/blob/main/CONTRIBUTING.md">Contributing</a></p></div> <div align="center">
<p>[![Mentioned in Awesome V][awesomevbadge]][awesomevurl] [![Continuous Integration][workflowbadge]][workflowurl] [![Deploy Documentation][deploydocsbadge]][deploydocsurl] [![License: MIT][licensebadge]][licenseurl]</p></div>
<pre><code class="language-v"><span class="token keyword">import</span> vtl
t <span class="token operator">:=</span> vtl<span class="token punctuation">.</span><span class="token function">from_array</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">1.0</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token punctuation">[</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">]</span><span class="token punctuation">)</span><span class="token operator">!</span>
t<span class="token punctuation">.</span><span class="token function">get</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
<span class="token comment">// 4.0</span></code></pre><h2>VTL Provides</h2><ul><li>An n-dimensional <code>Tensor</code> data structure</li><li>Sophisticated reduction, elementwise, and accumulation operations</li><li>Data Structures that can easily be passed to C libraries</li><li>Powerful linear algebra routines backed by VSL.</li></ul><p>In the <a href="https://vlang.github.io/vtl">docs</a> you can find more information about this module</p><h2>Installation</h2><h3>Install dependencies (optional)</h3><p>We use <a href="https://github.com/vlang/vsl">VSL</a> as backend for some functionalities. VTL requires VSL's linear algebra module. If you wish you to use vtl without these, the <code>vtl</code> module will still function as normal.</p><p>Follow this <a href="https://github.com/vlang/vsl#install-vsl-locally">install instructions</a> at VSL docs in order to install VSL with all needed dependencies.</p><h3>Install VTL</h3><pre><code class="language-sh">v install vtl
</code></pre><p>Done. Installation completed.</p><h2>Testing</h2><p>To test the module, just type the following command:</p><pre><code class="language-sh">v test .
</code></pre><h2>License</h2><p><a href="LICENSE">MIT</a></p><h2>Contributors</h2><blockquote><p>This work was originally based on the work done by &gt; Christopher (<a href="https://github.com/christopherzimmerman">christopherzimmerman</a>).</p></blockquote><blockquote><p>The development of this library continues its course after having reimplemented its core &gt; and a large part of its interface. In the same way, we do not want to stop recognizing &gt; the work and inspiration that the library done by Christopher has given.</p></blockquote><p><a href="https://github.com/vlang/vtl/contributors"> <img src="https://contrib.rocks/image?repo=vlang/vtl"/> </a></p><p>Made with <a href="https://contrib.rocks">contributors-img</a>.</p><p>[awesomevbadge]: <a href="https://awesome.re/mentioned-badge.svg">https://awesome.re/mentioned-badge.svg</a> [workflowbadge]: <a href="https://github.com/vlang/vtl/actions/workflows/ci.yml/badge.svg">https://github.com/vlang/vtl/actions/workflows/ci.yml/badge.svg</a> [deploydocsbadge]: <a href="https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml/badge.svg">https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml/badge.svg</a> [licensebadge]: <a href="https://img.shields.io/badge/License-MIT-blue.svg">https://img.shields.io/badge/License-MIT-blue.svg</a> [awesomevurl]: <a href="https://github.com/vlang/awesome-v/blob/master/README.md#scientific-computing">https://github.com/vlang/awesome-v/blob/master/README.md#scientific-computing</a> [workflowurl]: <a href="https://github.com/vlang/vtl/actions/workflows/ci.yml">https://github.com/vlang/vtl/actions/workflows/ci.yml</a> [deploydocsurl]: <a href="https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml">https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml</a> [licenseurl]: <a href="https://github.com/vlang/vtl/blob/main/LICENSE">https://github.com/vlang/vtl/blob/main/LICENSE</a></p>
<span class="token comment">// 4.0</span></code></pre><h2>VTL Provides</h2><ul><li>An n-dimensional <code>Tensor</code> data structure</li><li>Sophisticated reduction, elementwise, and accumulation operations</li><li>Data Structures that can easily be passed to C libraries</li><li>Powerful linear algebra routines backed by VSL.</li></ul><p>In the <a href="https://vlang.github.io/vtl">docs</a> you can find more information about this module</p><h2>Installation</h2><h3>Install dependencies (optional)</h3><p>We use <a href="https://github.com/vlang/vsl">VSL</a> as backend for some functionalities. VTL requires VSL's linear algebra module. If you wish you to use vtl without these, the <code>vtl</code> module will still function as normal.</p><p>Follow this <a href="https://github.com/vlang/vsl#install-vsl-locally">install instructions</a> at VSL docs in order to install VSL with all needed dependencies.</p><h3>Install VTL</h3><pre><code class="language-sh">v install vtl</code></pre><p>Done. Installation completed.</p><h2>Testing</h2><p>To test the module, just type the following command:</p><pre><code class="language-sh">v test <span class="token punctuation">.</span></code></pre><h2>License</h2><p><a href="LICENSE">MIT</a></p><h2>Contributors</h2><blockquote><p>This work was originally based on the work done by &gt; Christopher (<a href="https://github.com/christopherzimmerman">christopherzimmerman</a>).</p></blockquote><blockquote><p>The development of this library continues its course after having reimplemented its core &gt; and a large part of its interface. In the same way, we do not want to stop recognizing &gt; the work and inspiration that the library done by Christopher has given.</p></blockquote><p><a href="https://github.com/vlang/vtl/contributors"> <img src="https://contrib.rocks/image?repo=vlang/vtl"/> </a></p><p>Made with <a href="https://contrib.rocks">contributors-img</a>.</p><p>[awesomevbadge]: <a href="https://awesome.re/mentioned-badge.svg">https://awesome.re/mentioned-badge.svg</a> [workflowbadge]: <a href="https://github.com/vlang/vtl/actions/workflows/ci.yml/badge.svg">https://github.com/vlang/vtl/actions/workflows/ci.yml/badge.svg</a> [deploydocsbadge]: <a href="https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml/badge.svg">https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml/badge.svg</a> [licensebadge]: <a href="https://img.shields.io/badge/License-MIT-blue.svg">https://img.shields.io/badge/License-MIT-blue.svg</a> [awesomevurl]: <a href="https://github.com/vlang/awesome-v/blob/master/README.md#scientific-computing">https://github.com/vlang/awesome-v/blob/master/README.md#scientific-computing</a> [workflowurl]: <a href="https://github.com/vlang/vtl/actions/workflows/ci.yml">https://github.com/vlang/vtl/actions/workflows/ci.yml</a> [deploydocsurl]: <a href="https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml">https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml</a> [licenseurl]: <a href="https://github.com/vlang/vtl/blob/main/LICENSE">https://github.com/vlang/vtl/blob/main/LICENSE</a></p>

</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions la.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -146,7 +146,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#det">fn det</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions ml.metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -170,7 +170,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#absolute_error">fn absolute_error</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.gates.activation.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -254,7 +254,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#elu_gate">fn elu_gate</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.gates.layers.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -294,7 +294,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#dropout_gate">fn dropout_gate</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.gates.loss.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -222,7 +222,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#mse_gate">fn mse_gate</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -329,7 +329,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#compute_fans">fn compute_fans</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.layers.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -520,7 +520,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#dropout_layer">fn dropout_layer</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.loss.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="info">
<div class="module">vtl</div>
<div class="toggle-version-container">
<span>0.2.0 3db7b44</span>
<span>0.2.0 3f725fe</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -194,7 +194,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 9 Apr 2024 00:55:09</div>
<div class="footer">Powered by vdoc. Generated on: 17 Apr 2024 19:45:02</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#loss_loss">fn loss_loss</a> <ul>
</ul>
Expand Down
Loading

0 comments on commit 80955c9

Please sign in to comment.