Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8efb158 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
junpenglao committed Sep 20, 2023
1 parent 89c71e2 commit 664db51
Show file tree
Hide file tree
Showing 30 changed files with 55 additions and 42 deletions.
Binary file modified .doctrees/autoapi/blackjax/types/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/examples/howto_custom_gradients.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_metropolis_within_gibbs.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_other_frameworks.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_sample_multiple_chains.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_aesara.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_numpyro.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_tfp.doctree
Binary file not shown.
Binary file modified .doctrees/examples/quickstart.doctree
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions _modules/blackjax/types.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ <h1>Source code for blackjax.types</h1><div class="highlight"><pre>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Any</span><span class="p">,</span> <span class="n">Iterable</span><span class="p">,</span> <span class="n">Mapping</span><span class="p">,</span> <span class="n">Union</span>

<span class="kn">import</span> <span class="nn">jax</span>
<span class="kn">from</span> <span class="nn">jax</span> <span class="kn">import</span> <span class="n">Array</span>
<span class="kn">from</span> <span class="nn">jax.typing</span> <span class="kn">import</span> <span class="n">ArrayLike</span>

<span class="sd">&quot;&quot;&quot;</span>
Expand All @@ -375,13 +374,14 @@ <h1>Source code for blackjax.types</h1><div class="highlight"><pre>
<span class="sd">(until we introduce shape annotation).</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="c1">#: JAX PyTrees</span>
<div class="viewcode-block" id="ArrayTree"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.ArrayTree">[docs]</a><span class="n">ArrayTree</span> <span class="o">=</span> <span class="n">Union</span><span class="p">[</span><span class="n">Array</span><span class="p">,</span> <span class="n">Iterable</span><span class="p">[</span><span class="s2">&quot;ArrayTree&quot;</span><span class="p">],</span> <span class="n">Mapping</span><span class="p">[</span><span class="n">Any</span><span class="p">,</span> <span class="s2">&quot;ArrayTree&quot;</span><span class="p">]]</span></div>
<div class="viewcode-block" id="Array"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.Array">[docs]</a><span class="n">Array</span> <span class="o">=</span> <span class="n">jax</span><span class="o">.</span><span class="n">Array</span></div>
<div class="viewcode-block" id="ArrayTree"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.ArrayTree">[docs]</a><span class="n">ArrayTree</span> <span class="o">=</span> <span class="n">Union</span><span class="p">[</span><span class="n">jax</span><span class="o">.</span><span class="n">Array</span><span class="p">,</span> <span class="n">Iterable</span><span class="p">[</span><span class="s2">&quot;ArrayTree&quot;</span><span class="p">],</span> <span class="n">Mapping</span><span class="p">[</span><span class="n">Any</span><span class="p">,</span> <span class="s2">&quot;ArrayTree&quot;</span><span class="p">]]</span></div>
<div class="viewcode-block" id="ArrayLikeTree"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.ArrayLikeTree">[docs]</a><span class="n">ArrayLikeTree</span> <span class="o">=</span> <span class="n">Union</span><span class="p">[</span>
<span class="n">ArrayLike</span><span class="p">,</span> <span class="n">Iterable</span><span class="p">[</span><span class="s2">&quot;ArrayLikeTree&quot;</span><span class="p">],</span> <span class="n">Mapping</span><span class="p">[</span><span class="n">Any</span><span class="p">,</span> <span class="s2">&quot;ArrayLikeTree&quot;</span><span class="p">]</span>
<span class="p">]</span></div>

<span class="c1">#: JAX PRNGKey</span>
<div class="viewcode-block" id="PRNGKey"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.PRNGKey">[docs]</a><span class="n">PRNGKey</span> <span class="o">=</span> <span class="n">jax</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">PRNGKeyArray</span></div>
<div class="viewcode-block" id="PRNGKey"><a class="viewcode-back" href="../../autoapi/blackjax/types/index.html#blackjax.types.PRNGKey">[docs]</a><span class="n">PRNGKey</span> <span class="o">=</span> <span class="n">jax</span><span class="o">.</span><span class="n">Array</span></div>
</pre></div>

</article>
Expand Down
4 changes: 4 additions & 0 deletions _sources/autoapi/blackjax/types/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
Module Contents
---------------

.. py:data:: Array
.. py:data:: ArrayTree
Expand Down
7 changes: 7 additions & 0 deletions autoapi/blackjax/types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ <h2> Contents </h2>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-contents">Module Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.Array"><code class="docutils literal notranslate"><span class="pre">Array</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.ArrayTree"><code class="docutils literal notranslate"><span class="pre">ArrayTree</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.ArrayLikeTree"><code class="docutils literal notranslate"><span class="pre">ArrayLikeTree</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.PRNGKey"><code class="docutils literal notranslate"><span class="pre">PRNGKey</span></code></a></li>
Expand All @@ -356,6 +357,11 @@ <h2> Contents </h2>
<span id="blackjax-types"></span><h1><a class="reference internal" href="#module-blackjax.types" title="blackjax.types"><code class="xref py py-mod docutils literal notranslate"><span class="pre">blackjax.types</span></code></a><a class="headerlink" href="#module-blackjax.types" title="Permalink to this heading">#</a></h1>
<section id="module-contents">
<h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalink to this heading">#</a></h2>
<dl class="py data">
<dt class="sig sig-object py" id="blackjax.types.Array">
<span class="sig-name descname"><span class="pre">Array</span></span><a class="reference internal" href="../../../_modules/blackjax/types.html#Array"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax.types.Array" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

<dl class="py data">
<dt class="sig sig-object py" id="blackjax.types.ArrayTree">
<span class="sig-name descname"><span class="pre">ArrayTree</span></span><a class="reference internal" href="../../../_modules/blackjax/types.html#ArrayTree"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax.types.ArrayTree" title="Permalink to this definition">#</a></dt>
Expand Down Expand Up @@ -401,6 +407,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalin
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-contents">Module Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.Array"><code class="docutils literal notranslate"><span class="pre">Array</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.ArrayTree"><code class="docutils literal notranslate"><span class="pre">ArrayTree</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.ArrayLikeTree"><code class="docutils literal notranslate"><span class="pre">ArrayLikeTree</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax.types.PRNGKey"><code class="docutils literal notranslate"><span class="pre">PRNGKey</span></code></a></li>
Expand Down
2 changes: 1 addition & 1 deletion examples/howto_custom_gradients.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h3>Trying to differentate the function with <code class="docutils literal notra
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1695211903.068024 2375 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
I0000 00:00:1695236288.277406 2189 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
</pre></div>
</div>
Expand Down
18 changes: 9 additions & 9 deletions examples/howto_metropolis_within_gibbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ <h2>The Model<a class="headerlink" href="#the-model" title="Permalink to this he
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1695211918.277115 2420 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
I0000 00:00:1695236299.861350 2235 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
</pre></div>
</div>
Expand Down Expand Up @@ -584,8 +584,8 @@ <h3>Sampling<a class="headerlink" href="#sampling" title="Permalink to this head
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 1.46 s, sys: 11.7 ms, total: 1.47 s
Wall time: 1.46 s
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 1.45 s, sys: 8.06 ms, total: 1.46 s
Wall time: 1.45 s
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -672,17 +672,17 @@ <h3>Sampling<a class="headerlink" href="#sampling" title="Permalink to this head
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
Expand Down Expand Up @@ -732,7 +732,7 @@ <h3>Sampling<a class="headerlink" href="#sampling" title="Permalink to this head
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.PairGrid at 0x7f14702a00d0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;seaborn.axisgrid.PairGrid at 0x7f3070f189a0&gt;
</pre></div>
</div>
<img alt="../_images/d5545642ab81482dcb87be7e3914404d6091fd31322d2d6715a43bb452bb0f94.png" src="../_images/d5545642ab81482dcb87be7e3914404d6091fd31322d2d6715a43bb452bb0f94.png" />
Expand Down Expand Up @@ -857,7 +857,7 @@ <h3>Sampling<a class="headerlink" href="#id2" title="Permalink to this heading">
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 1.2 s, sys: 16 ms, total: 1.22 s
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 1.2 s, sys: 15.6 ms, total: 1.21 s
Wall time: 1.21 s
</pre></div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions examples/howto_other_frameworks.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ <h2>Use <code class="docutils literal notranslate"><span class="pre">jax.experim
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 3.81 s, sys: 187 µs, total: 3.81 s
Wall time: 3.81 s
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 3.75 s, sys: 1 µs, total: 3.75 s
Wall time: 3.75 s
</pre></div>
</div>
</div>
Expand All @@ -559,8 +559,8 @@ <h2>Use <code class="docutils literal notranslate"><span class="pre">jax.experim
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 16.6 s, sys: 200 ms, total: 16.8 s
Wall time: 16.8 s
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CPU times: user 15.3 s, sys: 124 ms, total: 15.4 s
Wall time: 15.4 s
</pre></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/howto_sample_multiple_chains.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h2>NUTS in parallel<a class="headerlink" href="#nuts-in-parallel" title="Permal
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1695212002.388576 2677 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
I0000 00:00:1695236378.503259 2492 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
</pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/howto_use_aesara.html
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ <h1>Use with Aesara models<a class="headerlink" href="#use-with-aesara-models" t
|Elemwise{sigmoid,no_inplace} [id FD]
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;ipykernel.iostream.OutStream at 0x7f28e5da2400&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;ipykernel.iostream.OutStream at 0x7f0fb35e23a0&gt;
</pre></div>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions examples/howto_use_numpyro.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ <h1>Use with Numpyro models<a class="headerlink" href="#use-with-numpyro-models"
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1695212033.279105 2809 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
I0000 00:00:1695236408.614235 2617 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
</pre></div>
</div>
Expand Down Expand Up @@ -601,15 +601,15 @@ <h1>Use with Numpyro models<a class="headerlink" href="#use-with-numpyro-models"
if pd.api.types.is_categorical_dtype(vector):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1498: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) instead
if pd.api.types.is_categorical_dtype(vector):
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.
with pd.option_context(&#39;mode.use_inf_as_na&#39;, True):
</pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/howto_use_tfp.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ <h1>Use with TFP models<a class="headerlink" href="#use-with-tfp-models" title="
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1695212074.433400 3005 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
I0000 00:00:1695236447.701669 2819 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
</pre></div>
</div>
Expand Down
Loading

0 comments on commit 664db51

Please sign in to comment.