Skip to content

Commit

Permalink
build based on 5f8520b
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 5, 2024
1 parent f725c68 commit ddc342e
Show file tree
Hide file tree
Showing 79 changed files with 67,668 additions and 67,680 deletions.
2 changes: 1 addition & 1 deletion docs/dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-07-02T19:35:35","documenter_version":"1.5.0"}}
{"documenter":{"julia_version":"1.6.7","generation_timestamp":"2024-09-05T02:12:13","documenter_version":"1.7.0"}}
6 changes: 3 additions & 3 deletions docs/dev/api/inference/importance/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/dev/api/inference/learning/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/dev/api/inference/map/index.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/dev/api/inference/mcmc/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/dev/api/inference/pf/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/dev/api/inference/vi/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/dev/api/model/choice_maps/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/dev/api/model/combinators/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/dev/api/model/distributions/index.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/dev/api/model/gfi/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/dev/api/model/modeling/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/api/model/parameter_optimization/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/dev/api/model/selections/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/dev/api/model/trace_translators/index.html

Large diffs are not rendered by default.

53 changes: 29 additions & 24 deletions docs/dev/assets/documenter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/catppuccin-frappe.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/catppuccin-latte.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/catppuccin-macchiato.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/catppuccin-mocha.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/documenter-dark.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/assets/themes/documenter-light.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/explanations/combinator_design/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/explanations/language_implementation/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dev/getting_started/linear_regression/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
end</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">my_inference_program (generic function with 1 method)</code></pre><p>Finally, we run the inference program on some data, and get the results:</p><pre><code class="language-julia hljs">xs = [1., 2., 3., 4., 5., 6., 7., 8., 9., 10.]
ys = [8.23, 5.87, 3.99, 2.59, 0.23, -0.66, -3.53, -6.91, -7.24, -9.90]
(slope, intercept) = my_inference_program(xs, ys, 1000)
println(&quot;slope: $slope, intercept: $intercept&quot;)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">slope: -1.8961596788852737, intercept: 9.57114683633849</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../">« Home</a><a class="docs-footer-nextpage" href="../../tutorials/basics/modeling_in_gen/">Introduction to Modeling in Gen »</a><div class="flexbox-break"></div><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.5.0 on <span class="colophon-date" title="Tuesday 2 July 2024 19:35">Tuesday 2 July 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
println(&quot;slope: $slope, intercept: $intercept&quot;)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">slope: -2.0082955855151705, intercept: 9.87236353491899</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../">« Home</a><a class="docs-footer-nextpage" href="../../tutorials/basics/modeling_in_gen/">Introduction to Modeling in Gen »</a><div class="flexbox-break"></div><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.7.0 on <span class="colophon-date" title="Thursday 5 September 2024 02:12">Thursday 5 September 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion docs/dev/how_to/custom_derivatives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

Gen.apply(::MyPlus, args) = args[1] + args[2]
Gen.gradient(::MyPlus, args, retval, retgrad) = (retgrad, retgrad)
Gen.has_argument_grads(::MyPlus) = (true, true)</code></pre><h1 id="optimizing-internal"><a class="docs-heading-anchor" href="#optimizing-internal">Optimizing Trainable Parameters</a><a id="optimizing-internal-1"></a><a class="docs-heading-anchor-permalink" href="#optimizing-internal" title="Permalink"></a></h1><p>To add support for a new type of gradient-based parameter update, create a new type with the following methods defined for the types of generative functions that are to be supported.</p><ul><li><a href="../../api/model/gfi/#Gen.init_update_state"><code>Gen.init_update_state</code></a></li><li><a href="../../api/model/gfi/#Gen.apply_update!"><code>Gen.apply_update!</code></a></li></ul></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../custom_dsl/">« Custom Modeling Languages</a><a class="docs-footer-nextpage" href="../custom_incremental_computation/">Incremental Computation »</a><div class="flexbox-break"></div><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.5.0 on <span class="colophon-date" title="Tuesday 2 July 2024 19:35">Tuesday 2 July 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Gen.has_argument_grads(::MyPlus) = (true, true)</code></pre><h1 id="optimizing-internal"><a class="docs-heading-anchor" href="#optimizing-internal">Optimizing Trainable Parameters</a><a id="optimizing-internal-1"></a><a class="docs-heading-anchor-permalink" href="#optimizing-internal" title="Permalink"></a></h1><p>To add support for a new type of gradient-based parameter update, create a new type with the following methods defined for the types of generative functions that are to be supported.</p><ul><li><a href="../../api/model/gfi/#Gen.init_update_state"><code>Gen.init_update_state</code></a></li><li><a href="../../api/model/gfi/#Gen.apply_update!"><code>Gen.apply_update!</code></a></li></ul></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../custom_dsl/">« Custom Modeling Languages</a><a class="docs-footer-nextpage" href="../custom_incremental_computation/">Incremental Computation »</a><div class="flexbox-break"></div><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.7.0 on <span class="colophon-date" title="Thursday 5 September 2024 02:12">Thursday 5 September 2024</span>. Using Julia version 1.6.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit ddc342e

Please sign in to comment.