Skip to content

Commit

Permalink
deploy: b758d5f
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 17, 2024
1 parent ff32f06 commit 6dc2221
Show file tree
Hide file tree
Showing 19 changed files with 92 additions and 34 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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#add_gate">fn add_gate</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -213,7 +213,7 @@ <h1>VTL Datasets</h1><p>This module exposes some functionalities to download and
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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
33 changes: 33 additions & 0 deletions doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
--attribute-deprecated-background-color: #f59f0b48;
--attribute-deprecated-text-color: #92400e;
--attribute-text-color: #000000cf;
--table-header-line-color: #2c3e64;
--table-background-color: #edf2f7;
}
html.dark {
--background-color: #1a202c;
Expand Down Expand Up @@ -73,6 +75,8 @@ html.dark {
--attribute-background-color: #ffffff20;
--attribute-text-color: #ffffffaf;
--attribute-deprecated-text-color: #fef3c7;
--table-header-line-color: #cbd5e0;
--table-background-color: #2d3748;
}
html.dark .dark-icon {
display: none;
Expand Down Expand Up @@ -307,6 +311,9 @@ hr {
.doc-nav > .content a:hover {
text-decoration: underline;
}
.doc-nav .search {
overflow-y: auto;
}
.doc-nav .search.hidden {
display: none;
}
Expand Down Expand Up @@ -619,6 +626,7 @@ code {
pre {
overflow: auto;
margin: 0;
position: relative;
}
.namespace {
opacity: 0.7;
Expand Down Expand Up @@ -665,6 +673,31 @@ pre {
margin: 0 0 0.4rem 0;
}

table {
border: 1px solid var(--table-background-color);
border-collapse: collapse;
}
table tr td,
table tr th {
padding: 4px 8px;
}
table tr th {
background-color: var(--table-background-color);
}
tr:nth-child(even) {
background-color: var(--table-background-color);
}

button.copy {
border: none;
background-color: transparent;
position: absolute;
font-size: 12px;
top: 5px;
right: 5px;
color: var(--ref-symbol-hover-color);
}

/* Medium screen and up */
@media (min-width: 768px) {
*::-webkit-scrollbar {
Expand Down
25 changes: 25 additions & 0 deletions doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
setupScrollSpy();
setupSearch();
setupCollapse();
setupCodeCopy();
})();

function setupScrollSpy() {
Expand Down Expand Up @@ -300,3 +301,27 @@ function debounce(func, timeout) {
timer = setTimeout(next, timeout > 0 ? timeout : 300);
};
}

function setupCodeCopy() {
const pres = document.querySelectorAll('pre:not(.signature)');
pres.forEach((pre) => {
const tempDiv = document.createElement('button');
tempDiv.className = 'copy';
tempDiv.innerHTML =
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" fill="rgba(173,184,194,1)"><path d="M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z"></path></svg>';
tempDiv.addEventListener('click', (e) => {
const parent = e.target;
var code = tempDiv.parentElement.querySelector('code');
let i = Array.from(code.childNodes)
.map((r) => r.textContent)
.join('');
navigator.clipboard.writeText(i);
var tmp = tempDiv.innerHTML;
tempDiv.innerHTML = 'Copied';
window.setTimeout(function () {
tempDiv.innerHTML = tmp;
}, 1000);
});
pre.insertAdjacentElement('afterbegin', tempDiv);
});
}
4 changes: 2 additions & 2 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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -120,7 +120,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</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 096226b</span>
<span>0.2.0 8835b6f</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: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#loss_loss">fn loss_loss</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.models.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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -370,7 +370,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#sequential">fn sequential</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.optimizers.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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -219,7 +219,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#adam_optimizer">fn adam_optimizer</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nn.types.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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -150,7 +150,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#Layer">interface Layer</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions stats.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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -453,7 +453,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#absdev">fn absdev</a> <ul>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions storage.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 096226b</span>
<span>0.2.0 8835b6f</span>
<div
id="dark-mode-toggle"
role="switch"
Expand Down Expand Up @@ -233,7 +233,7 @@
</section>


<div class="footer">Powered by vdoc. Generated on: 6 Jun 2024 16:11:53</div>
<div class="footer">Powered by vdoc. Generated on: 17 Dec 2024 16:04:18</div>
</div>
<div class="doc-toc"><ul><li class="open"><a href="#Constants">Constants</a></li>
<li class="open"><a href="#from_array">fn from_array</a> <ul>
Expand Down
Loading

0 comments on commit 6dc2221

Please sign in to comment.