Skip to content

Commit

Permalink
Deploying to gh-pages from @ 76bbd0b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
liuanji committed Feb 14, 2024
1 parent 67f0a07 commit f8bebe1
Show file tree
Hide file tree
Showing 19 changed files with 598 additions and 7 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/python-api/nodes.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pyjuice.nodes.distributions.DiscreteLogistic
============================================

.. currentmodule:: pyjuice.nodes.distributions

.. autoclass:: DiscreteLogistic


.. automethod:: __init__






.. rubric:: Attributes

.. autosummary::

~DiscreteLogistic.need_meta_parameters


Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pyjuice.nodes.distributions.Gaussian
====================================

.. currentmodule:: pyjuice.nodes.distributions

.. autoclass:: Gaussian


.. automethod:: __init__






.. rubric:: Attributes

.. autosummary::

~Gaussian.need_meta_parameters


Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pyjuice.nodes.distributions.MaskedCategorical
=============================================

.. currentmodule:: pyjuice.nodes.distributions

.. autoclass:: MaskedCategorical


.. automethod:: __init__






.. rubric:: Attributes

.. autosummary::

~MaskedCategorical.need_meta_parameters


4 changes: 3 additions & 1 deletion _sources/python-api/nodes.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ Input Distributions

distributions.Bernoulli
distributions.Categorical

distributions.DiscreteLogistic
distributions.Gaussian
distributions.MaskedCategorical
23 changes: 22 additions & 1 deletion genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ <h1 id="index">Index</h1>
| <a href="#C"><strong>C</strong></a>
| <a href="#D"><strong>D</strong></a>
| <a href="#F"><strong>F</strong></a>
| <a href="#G"><strong>G</strong></a>
| <a href="#I"><strong>I</strong></a>
| <a href="#M"><strong>M</strong></a>
| <a href="#P"><strong>P</strong></a>
Expand All @@ -98,6 +99,12 @@ <h2 id="_">_</h2>

<ul>
<li><a href="python-api/generated/pyjuice.nodes.distributions.Categorical.html#pyjuice.nodes.distributions.Categorical.__init__">(pyjuice.nodes.distributions.Categorical method)</a>
</li>
<li><a href="python-api/generated/pyjuice.nodes.distributions.DiscreteLogistic.html#pyjuice.nodes.distributions.DiscreteLogistic.__init__">(pyjuice.nodes.distributions.DiscreteLogistic method)</a>
</li>
<li><a href="python-api/generated/pyjuice.nodes.distributions.Gaussian.html#pyjuice.nodes.distributions.Gaussian.__init__">(pyjuice.nodes.distributions.Gaussian method)</a>
</li>
<li><a href="python-api/generated/pyjuice.nodes.distributions.MaskedCategorical.html#pyjuice.nodes.distributions.MaskedCategorical.__init__">(pyjuice.nodes.distributions.MaskedCategorical method)</a>
</li>
<li><a href="python-api/generated/pyjuice.nodes.InputNodes.html#pyjuice.nodes.InputNodes.__init__">(pyjuice.nodes.InputNodes method)</a>
</li>
Expand Down Expand Up @@ -141,6 +148,10 @@ <h2 id="D">D</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python-api/generated/pyjuice.deepcopy.html#pyjuice.deepcopy">deepcopy() (in module pyjuice)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python-api/generated/pyjuice.nodes.distributions.DiscreteLogistic.html#pyjuice.nodes.distributions.DiscreteLogistic">DiscreteLogistic (class in pyjuice.nodes.distributions)</a>
</li>
</ul></td>
</tr></table>
Expand All @@ -159,6 +170,14 @@ <h2 id="F">F</h2>
</ul></td>
</tr></table>

<h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python-api/generated/pyjuice.nodes.distributions.Gaussian.html#pyjuice.nodes.distributions.Gaussian">Gaussian (class in pyjuice.nodes.distributions)</a>
</li>
</ul></td>
</tr></table>

<h2 id="I">I</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
Expand All @@ -174,10 +193,12 @@ <h2 id="I">I</h2>
<h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python-api/generated/pyjuice.merge.html#pyjuice.merge">merge() (in module pyjuice)</a>
<li><a href="python-api/generated/pyjuice.nodes.distributions.MaskedCategorical.html#pyjuice.nodes.distributions.MaskedCategorical">MaskedCategorical (class in pyjuice.nodes.distributions)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python-api/generated/pyjuice.merge.html#pyjuice.merge">merge() (in module pyjuice)</a>
</li>
<li><a href="python-api/generated/pyjuice.multiply.html#pyjuice.multiply">multiply() (in module pyjuice)</a>
</li>
</ul></td>
Expand Down
Binary file modified objects.inv
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Categorical.html">pyjuice.nodes.distributions.Categorical</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.DiscreteLogistic.html">pyjuice.nodes.distributions.DiscreteLogistic</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Gaussian.html">pyjuice.nodes.distributions.Gaussian</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.MaskedCategorical.html">pyjuice.nodes.distributions.MaskedCategorical</a></li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="pyjuice.TensorCircuit" href="../tensorcircuit.html" />
<link rel="next" title="pyjuice.nodes.distributions.DiscreteLogistic" href="pyjuice.nodes.distributions.DiscreteLogistic.html" />
<link rel="prev" title="pyjuice.nodes.distributions.Bernoulli" href="pyjuice.nodes.distributions.Bernoulli.html" />
</head>

Expand Down Expand Up @@ -59,6 +59,9 @@
<li class="toctree-l4"><a class="reference internal" href="#pyjuice.nodes.distributions.Categorical"><code class="docutils literal notranslate"><span class="pre">Categorical</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.DiscreteLogistic.html">pyjuice.nodes.distributions.DiscreteLogistic</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Gaussian.html">pyjuice.nodes.distributions.Gaussian</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.MaskedCategorical.html">pyjuice.nodes.distributions.MaskedCategorical</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -124,7 +127,7 @@ <h1>pyjuice.nodes.distributions.Categorical<a class="headerlink" href="#pyjuice-
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="pyjuice.nodes.distributions.Bernoulli.html" class="btn btn-neutral float-left" title="pyjuice.nodes.distributions.Bernoulli" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="../tensorcircuit.html" class="btn btn-neutral float-right" title="pyjuice.TensorCircuit" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
<a href="pyjuice.nodes.distributions.DiscreteLogistic.html" class="btn btn-neutral float-right" title="pyjuice.nodes.distributions.DiscreteLogistic" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

<hr/>
Expand Down
160 changes: 160 additions & 0 deletions python-api/generated/pyjuice.nodes.distributions.DiscreteLogistic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pyjuice.nodes.distributions.DiscreteLogistic &mdash; PyJuice 2.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />


<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=51b770b3"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="pyjuice.nodes.distributions.Gaussian" href="pyjuice.nodes.distributions.Gaussian.html" />
<link rel="prev" title="pyjuice.nodes.distributions.Categorical" href="pyjuice.nodes.distributions.Categorical.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >



<a href="../../index.html" class="icon icon-home">
PyJuice
</a>
<div class="version">
2.0.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">API</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../pyjuice.html">pyjuice</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../nodes.html">pyjuice.nodes</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../nodes.html#nodes">Nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nodes.html#methods">Methods</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../nodes.html#input-distributions">Input Distributions</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Bernoulli.html">pyjuice.nodes.distributions.Bernoulli</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Categorical.html">pyjuice.nodes.distributions.Categorical</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">pyjuice.nodes.distributions.DiscreteLogistic</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#pyjuice.nodes.distributions.DiscreteLogistic"><code class="docutils literal notranslate"><span class="pre">DiscreteLogistic</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.Gaussian.html">pyjuice.nodes.distributions.Gaussian</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyjuice.nodes.distributions.MaskedCategorical.html">pyjuice.nodes.distributions.MaskedCategorical</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../tensorcircuit.html">pyjuice.TensorCircuit</a></li>
</ul>

</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../index.html">PyJuice</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../nodes.html">pyjuice.nodes</a></li>
<li class="breadcrumb-item active">pyjuice.nodes.distributions.DiscreteLogistic</li>
<li class="wy-breadcrumbs-aside">
<a href="../../_sources/python-api/generated/pyjuice.nodes.distributions.DiscreteLogistic.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<section id="pyjuice-nodes-distributions-discretelogistic">
<h1>pyjuice.nodes.distributions.DiscreteLogistic<a class="headerlink" href="#pyjuice-nodes-distributions-discretelogistic" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="pyjuice.nodes.distributions.DiscreteLogistic">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyjuice.nodes.distributions.</span></span><span class="sig-name descname"><span class="pre">DiscreteLogistic</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val_range</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Tuple" title="(in Python v3.12)"><span class="pre">Tuple</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_cats</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">min_std</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">0.01</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pyjuice.nodes.distributions.DiscreteLogistic" title="Link to this definition"></a></dt>
<dd><p>A class representing Discrete Logistic distributions.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val_range</strong> (<em>Tuple</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>,</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em>) – range of the values represented by the distribution</p></li>
<li><p><strong>num_cats</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – number of categories</p></li>
<li><p><strong>min_std</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – minimum standard deviation</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt class="sig sig-object py" id="pyjuice.nodes.distributions.DiscreteLogistic.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val_range</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Tuple" title="(in Python v3.12)"><span class="pre">Tuple</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_cats</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">min_std</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><span class="pre">float</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">0.01</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pyjuice.nodes.distributions.DiscreteLogistic.__init__" title="Link to this definition"></a></dt>
<dd></dd></dl>

<p class="rubric">Attributes</p>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">need_meta_parameters</span></code></p></td>
<td><p>A flag indicating whether users need to pass in meta-parameters to the constructor of InputNodes.</p></td>
</tr>
</tbody>
</table>
</dd></dl>

</section>


</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="pyjuice.nodes.distributions.Categorical.html" class="btn btn-neutral float-left" title="pyjuice.nodes.distributions.Categorical" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="pyjuice.nodes.distributions.Gaussian.html" class="btn btn-neutral float-right" title="pyjuice.nodes.distributions.Gaussian" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2021, StarAI.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Loading

0 comments on commit f8bebe1

Please sign in to comment.