Skip to content

Commit

Permalink
deploy: 0d02357
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Nov 22, 2024
1 parent e0f51ba commit bba5390
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 3 deletions.
Binary file modified .doctrees/autoapi/lasdi/networks/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
28 changes: 28 additions & 0 deletions _sources/autoapi/lasdi/networks/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,34 @@ Module Contents

.. py:data:: act_dict
Dictionary to activation functions.

- :obj:`'ELU'`: :obj:`torch.nn.ELU`
- :obj:`'hardshrink'`: :obj:`torch.nn.Hardshrink`
- :obj:`'hardsigmoid'`: :obj:`torch.nn.Hardsigmoid`
- :obj:`'hardtanh'`: :obj:`torch.nn.Hardtanh`
- :obj:`'hardswish'`: :obj:`torch.nn.Hardswish`
- :obj:`'leakyReLU'`: :obj:`torch.nn.LeakyReLU`
- :obj:`'logsigmoid'`: :obj:`torch.nn.LogSigmoid`
- :obj:`'multihead'`: :obj:`torch.nn.MultiheadAttention`
- :obj:`'PReLU'`: :obj:`torch.nn.PReLU`
- :obj:`'ReLU'`: :obj:`torch.nn.ReLU`
- :obj:`'ReLU6'`: :obj:`torch.nn.ReLU6`
- :obj:`'RReLU'`: :obj:`torch.nn.RReLU`
- :obj:`'SELU'`: :obj:`torch.nn.SELU`
- :obj:`'CELU'`: :obj:`torch.nn.CELU`
- :obj:`'GELU'`: :obj:`torch.nn.GELU`
- :obj:`'sigmoid'`: :obj:`torch.nn.Sigmoid`
- :obj:`'SiLU'`: :obj:`torch.nn.SiLU`
- :obj:`'mish'`: :obj:`torch.nn.Mish`
- :obj:`'softplus'`: :obj:`torch.nn.Softplus`
- :obj:`'softshrink'`: :obj:`torch.nn.Softshrink`
- :obj:`'tanh'`: :obj:`torch.nn.Tanh`
- :obj:`'tanhshrink'`: :obj:`torch.nn.Tanhshrink`
- :obj:`'threshold'`: :obj:`torch.nn.Threshold`

:type: :obj:`dict`

.. py:class:: MultiLayerPerceptron(layer_sizes, act_type='sigmoid', reshape_index=None, reshape_shape=None, threshold=0.1, value=0.0)
Bases: :py:obj:`torch.nn.Module`
Expand Down
35 changes: 33 additions & 2 deletions autoapi/lasdi/networks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h2>Attributes<a class="headerlink" href="#attributes" title="Permalink to this
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#lasdi.networks.act_dict" title="lasdi.networks.act_dict"><code class="xref py py-obj docutils literal notranslate"><span class="pre">act_dict</span></code></a></p></td>
<td><p></p></td>
<td><p>Dictionary to activation functions.</p></td>
</tr>
</tbody>
</table>
Expand All @@ -126,7 +126,38 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalin
<dl class="py data">
<dt class="sig sig-object py" id="lasdi.networks.act_dict">
<span class="sig-prename descclassname"><span class="pre">lasdi.networks.</span></span><span class="sig-name descname"><span class="pre">act_dict</span></span><a class="headerlink" href="#lasdi.networks.act_dict" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dd><p>Dictionary to activation functions.</p>
<ul class="simple">
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'ELU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.ELU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'hardshrink'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Hardshrink</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'hardsigmoid'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Hardsigmoid</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'hardtanh'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Hardtanh</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'hardswish'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Hardswish</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'leakyReLU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.LeakyReLU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'logsigmoid'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.LogSigmoid</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'multihead'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.MultiheadAttention</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'PReLU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.PReLU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'ReLU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.ReLU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'ReLU6'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.ReLU6</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'RReLU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.RReLU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'SELU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.SELU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'CELU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.CELU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'GELU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.GELU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'sigmoid'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Sigmoid</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'SiLU'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.SiLU</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'mish'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Mish</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'softplus'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Softplus</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'softshrink'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Softshrink</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'tanh'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Tanh</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'tanhshrink'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Tanhshrink</span></code></p></li>
<li><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">'threshold'</span></code>: <code class="xref py py-obj docutils literal notranslate"><span class="pre">torch.nn.Threshold</span></code></p></li>
</ul>
<dl class="field-list simple">
<dt class="field-odd">Type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">dict</span></code></p>
</dd>
</dl>
</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="lasdi.networks.MultiLayerPerceptron">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit bba5390

Please sign in to comment.