Skip to content

Commit

Permalink
build based on f8bc400
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 4, 2024
1 parent 3494ef5 commit 898419e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

julia> a ⊙ [5]
ERROR: DimensionMismatch: Axes of `A` and `B` must match, got (Base.OneTo(2),) and (Base.OneTo(1),)
[...]</code></pre><p>See also <code>hadamard!(y, a, b)</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL9-L33">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.hadamard!" href="#TensorCore.hadamard!"><code>TensorCore.hadamard!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">hadamard!(dest, A, B)</code></pre><p>Similar to <code>hadamard(A, B)</code> (which can also be written <code>A ⊙ B</code>), but stores its results in the pre-allocated array <code>dest</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL43-L48">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.tensor" href="#TensorCore.tensor"><code>TensorCore.tensor</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">tensor(A, B)
[...]</code></pre><p>See also <code>hadamard!(y, a, b)</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL9-L33">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.hadamard!" href="#TensorCore.hadamard!"><code>TensorCore.hadamard!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">hadamard!(dest, A, B)</code></pre><p>Similar to <code>hadamard(A, B)</code> (which can also be written <code>A ⊙ B</code>), but stores its results in the pre-allocated array <code>dest</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL43-L48">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.tensor" href="#TensorCore.tensor"><code>TensorCore.tensor</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">tensor(A, B)
A ⊗ B</code></pre><p>Compute the tensor product of <code>A</code> and <code>B</code>. If <code>C = A ⊗ B</code>, then <code>C[i1, ..., im, j1, ..., jn] = A[i1, ... im] * B[j1, ..., jn]</code>.</p><p>For vectors <code>v</code> and <code>w</code>, the Kronecker product is related to the tensor product by <code>kron(v,w) == vec(w ⊗ v)</code> or <code>w ⊗ v == reshape(kron(v,w), (length(w), length(v)))</code>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl">julia&gt; a = [2, 3]; b = [5, 7, 11];

julia&gt; a ⊗ b
2×3 Matrix{Int64}:
10 14 22
15 21 33</code></pre><p>See also <code>tensor!(Y,A,B)</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL62-L82">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.tensor!" href="#TensorCore.tensor!"><code>TensorCore.tensor!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">tensor!(dest, A, B)</code></pre><p>Similar to <code>tensor(A, B)</code> (which can also be written <code>A ⊗ B</code>), but stores its results in the pre-allocated array <code>dest</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL100-L105">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.boxdot" href="#TensorCore.boxdot"><code>TensorCore.boxdot</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">boxdot(A,B) = A ⊡ B # \boxdot</code></pre><p>Generalised matrix multiplication: Contracts the last dimension of <code>A</code> with the first dimension of <code>B</code>, for any <code>ndims(A)</code> &amp; <code>ndims(B)</code>. If both are vectors, then it returns a scalar <code>== sum(A .* B)</code>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl">julia&gt; A = rand(3,4,5); B = rand(5,6,7);
15 21 33</code></pre><p>See also <code>tensor!(Y,A,B)</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL62-L82">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.tensor!" href="#TensorCore.tensor!"><code>TensorCore.tensor!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">tensor!(dest, A, B)</code></pre><p>Similar to <code>tensor(A, B)</code> (which can also be written <code>A ⊗ B</code>), but stores its results in the pre-allocated array <code>dest</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL100-L105">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.boxdot" href="#TensorCore.boxdot"><code>TensorCore.boxdot</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">boxdot(A,B) = A ⊡ B # \boxdot</code></pre><p>Generalised matrix multiplication: Contracts the last dimension of <code>A</code> with the first dimension of <code>B</code>, for any <code>ndims(A)</code> &amp; <code>ndims(B)</code>. If both are vectors, then it returns a scalar <code>== sum(A .* B)</code>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl">julia&gt; A = rand(3,4,5); B = rand(5,6,7);

julia&gt; size(A ⊡ B)
(3, 4, 6, 7)
Expand All @@ -36,4 +36,4 @@
LinearAlgebra.Adjoint{Float64, Vector{Float64}}

julia&gt; typeof(v&#39; ⊡ v)
Float64</code></pre><p>See also <code>boxdot!(Y,A,B)</code>, which is to <code></code> as <code>mul!</code> is to <code>*</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL134-L179">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.boxdot!" href="#TensorCore.boxdot!"><code>TensorCore.boxdot!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">boxdot!(Y, A, B, α=1, β=0)</code></pre><p>In-place version of <code>boxdot</code>, i.e. <code>Y .= (A ⊡ B) .* β .+ Y .* α</code>. Like 5-argument <code>mul!</code>, the use of <code>α, β</code> here requires Julia 1.3 or later.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/282531087b9adb7b36410c585603776c7279036c/src/TensorCore.jl#LL253-L258">source</a></section></article></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Tuesday 4 June 2024 20:42">Tuesday 4 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Float64</code></pre><p>See also <code>boxdot!(Y,A,B)</code>, which is to <code></code> as <code>mul!</code> is to <code>*</code>.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL134-L179">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="TensorCore.boxdot!" href="#TensorCore.boxdot!"><code>TensorCore.boxdot!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia">boxdot!(Y, A, B, α=1, β=0)</code></pre><p>In-place version of <code>boxdot</code>, i.e. <code>Y .= (A ⊡ B) .* β .+ Y .* α</code>. Like 5-argument <code>mul!</code>, the use of <code>α, β</code> here requires Julia 1.3 or later.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/JuliaMath/TensorCore.jl/blob/f8bc400695f94807d2d75ace8f8cf74313c4447e/src/TensorCore.jl#LL253-L258">source</a></section></article></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Tuesday 4 June 2024 20:43">Tuesday 4 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/search/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Search · TensorCore.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit">TensorCore.jl</span></div><form class="docs-search" action><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Search</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Search</a></li></ul></nav><div class="docs-right"><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article><p id="documenter-search-info">Loading search...</p><ul id="documenter-search-results"></ul></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Tuesday 4 June 2024 20:42">Tuesday 4 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body><script src="../search_index.js"></script><script src="../assets/search.js"></script></html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Search · TensorCore.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit">TensorCore.jl</span></div><form class="docs-search" action><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Search</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Search</a></li></ul></nav><div class="docs-right"><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article><p id="documenter-search-info">Loading search...</p><ul id="documenter-search-results"></ul></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Tuesday 4 June 2024 20:43">Tuesday 4 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body><script src="../search_index.js"></script><script src="../assets/search.js"></script></html>

0 comments on commit 898419e

Please sign in to comment.