Skip to content

Commit

Permalink
build based on fcd0e56
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Dec 18, 2024
1 parent 33ec20f commit 710a581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-18T15:02:33","documenter_version":"1.8.0"}}
{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-18T15:05:23","documenter_version":"1.8.0"}}
4 changes: 2 additions & 2 deletions dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(4, 3)

julia> rff(rand(2, 3, 5)) |> size # extra batch dim
(4, 3, 5)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/7777ef31ddb8b21e795cd8234d9fc05d9a74870e/src/RandomFeatureMaps.jl#L15-L33">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.RandomOrientationFeatures" href="#RandomFeatureMaps.RandomOrientationFeatures"><code>RandomFeatureMaps.RandomOrientationFeatures</code></a><span class="docstring-category">Type</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">RandomOrientationFeatures</code></pre><p>Holds two random matrices which are used to embed rigid transformations.</p><p>This type has no trainable parameters.</p><p><strong>Methods</strong></p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2)</code>: returns the distances between the corresponding</li></ul><p>rigid transformations, embedded using the two random matrices of the random orientation features.</p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2; dims::Int)</code>: unsqueezes batch dimension <code>dim+1</code></li></ul><p>of <code>rigid1</code> and <code>dim</code> of <code>rigid2</code> to broadcast the <code>rof</code> call and produce a pairwise map.</p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2, graph::GraphNeuralNetworks.GNNGraph)</code>: similar to</li></ul><p>the first method, but takes two sets rigid transformations of equal size and unrolls a graph to get the pairs of rigid transformations. Equivalent to the second method (with broadcasted dimensions flattened) when the graph is complete.</p><p>Each of these have single rigid argument methods for when <code>rigid1 == rigid2</code>, i.e. <code>rof(rigid)</code></p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; rof = RandomOrientationFeatures(10, 0.1f0);
(4, 3, 5)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/fcd0e5681c472478583c3d82341793f4ee18b86f/src/RandomFeatureMaps.jl#L15-L33">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.RandomOrientationFeatures" href="#RandomFeatureMaps.RandomOrientationFeatures"><code>RandomFeatureMaps.RandomOrientationFeatures</code></a><span class="docstring-category">Type</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">RandomOrientationFeatures</code></pre><p>Holds two random matrices which are used to embed rigid transformations.</p><p>This type has no trainable parameters.</p><p><strong>Methods</strong></p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2)</code>: returns the distances between the corresponding</li></ul><p>rigid transformations, embedded using the two random matrices of the random orientation features.</p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2; dims::Int)</code>: unsqueezes batch dimension <code>dim+1</code></li></ul><p>of <code>rigid1</code> and <code>dim</code> of <code>rigid2</code> to broadcast the <code>rof</code> call and produce a pairwise map.</p><ul><li><code>(::RandomOrientationFeatures)(rigid1, rigid2, graph::GraphNeuralNetworks.GNNGraph)</code>: similar to</li></ul><p>the first method, but takes two sets rigid transformations of equal size and unrolls a graph to get the pairs of rigid transformations. Equivalent to the second method (with broadcasted dimensions flattened) when the graph is complete.</p><p>Each of these have single rigid argument methods for when <code>rigid1 == rigid2</code>, i.e. <code>rof(rigid)</code></p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; rof = RandomOrientationFeatures(10, 0.1f0);

julia&gt; rigid = rand_rigid(Float32, (4, 3));

Expand All @@ -27,4 +27,4 @@
julia&gt; rigid = rand_rigid(Float32, (2,));

julia&gt; rof(rigid, graph) |&gt; size
(10, 3)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/7777ef31ddb8b21e795cd8234d9fc05d9a74870e/src/RandomFeatureMaps.jl#L63-L112">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.RandomOrientationFeatures-Tuple{Integer, AbstractFloat}" href="#RandomFeatureMaps.RandomOrientationFeatures-Tuple{Integer, AbstractFloat}"><code>RandomFeatureMaps.RandomOrientationFeatures</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">RandomOrientationFeatures(m, σ)</code></pre><p>Creates a <code>RandomOrientationFeatures</code> instance, mapping to <code>m</code> features.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/7777ef31ddb8b21e795cd8234d9fc05d9a74870e/src/RandomFeatureMaps.jl#L121-L125">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.get_rigid-Tuple{AbstractArray, AbstractArray}" href="#RandomFeatureMaps.get_rigid-Tuple{AbstractArray, AbstractArray}"><code>RandomFeatureMaps.get_rigid</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">get_rigid(R::AbstractArray, t::AbstractArray)</code></pre><p>Converts a rotation <code>R</code> and translation <code>t</code> to a <code>BatchedTransformations.Rigid</code>, designed to handle batch dimensions.</p><p>The transformation gets applied according to <code>NNlib.batched_mul(R, x) .+ t</code></p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/7777ef31ddb8b21e795cd8234d9fc05d9a74870e/src/RandomFeatureMaps.jl#L145-L152">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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Wednesday 18 December 2024 15:02">Wednesday 18 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
(10, 3)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/fcd0e5681c472478583c3d82341793f4ee18b86f/src/RandomFeatureMaps.jl#L63-L112">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.RandomOrientationFeatures-Tuple{Integer, AbstractFloat}" href="#RandomFeatureMaps.RandomOrientationFeatures-Tuple{Integer, AbstractFloat}"><code>RandomFeatureMaps.RandomOrientationFeatures</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">RandomOrientationFeatures(m, σ)</code></pre><p>Creates a <code>RandomOrientationFeatures</code> instance, mapping to <code>m</code> features.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/fcd0e5681c472478583c3d82341793f4ee18b86f/src/RandomFeatureMaps.jl#L121-L125">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="RandomFeatureMaps.get_rigid-Tuple{AbstractArray, AbstractArray}" href="#RandomFeatureMaps.get_rigid-Tuple{AbstractArray, AbstractArray}"><code>RandomFeatureMaps.get_rigid</code></a><span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">get_rigid(R::AbstractArray, t::AbstractArray)</code></pre><p>Converts a rotation <code>R</code> and translation <code>t</code> to a <code>BatchedTransformations.Rigid</code>, designed to handle batch dimensions.</p><p>The transformation gets applied according to <code>NNlib.batched_mul(R, x) .+ t</code></p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/MurrellGroup/RandomFeatureMaps.jl/blob/fcd0e5681c472478583c3d82341793f4ee18b86f/src/RandomFeatureMaps.jl#L145-L152">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="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Wednesday 18 December 2024 15:05">Wednesday 18 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 comments on commit 710a581

Please sign in to comment.