Skip to content

Commit

Permalink
Generate Python docs from pytorch/pytorch@1e260c8
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Nov 16, 2023
1 parent ac6263d commit 5a2105b
Show file tree
Hide file tree
Showing 2,290 changed files with 4,133 additions and 4,072 deletions.
Binary file modified docs/main/_images/RReLU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/main/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/__config__.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_jit_internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_lobpcg.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_logging/_internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_lowrank.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_tensor.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
4 changes: 3 additions & 1 deletion docs/main/_modules/torch/_tensor_str.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down Expand Up @@ -799,7 +799,9 @@ <h1>Source code for torch._tensor_str</h1><div class="highlight"><pre>
<span class="n">torch</span><span class="o">.</span><span class="n">float16</span><span class="p">,</span>
<span class="n">torch</span><span class="o">.</span><span class="n">bfloat16</span><span class="p">,</span>
<span class="n">torch</span><span class="o">.</span><span class="n">float8_e5m2</span><span class="p">,</span>
<span class="n">torch</span><span class="o">.</span><span class="n">float8_e5m2fnuz</span><span class="p">,</span>
<span class="n">torch</span><span class="o">.</span><span class="n">float8_e4m3fn</span><span class="p">,</span>
<span class="n">torch</span><span class="o">.</span><span class="n">float8_e4m3fnuz</span><span class="p">,</span>
<span class="p">]:</span>
<span class="bp">self</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">float</span><span class="p">()</span>

Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/amp/autocast_mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/nn/qat/modules/conv.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/nn/qat/modules/linear.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/nn/quantized/functional.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/nn/quantized/modules/conv.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/ns/_numeric_suite.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/ns/_numeric_suite_fx.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/main/_modules/torch/ao/ns/fx/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
8 changes: 5 additions & 3 deletions docs/main/_modules/torch/ao/quantization.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down Expand Up @@ -616,17 +616,19 @@ <h1>Source code for torch.ao.quantization</h1><div class="highlight"><pre>
<span class="p">]</span>

<div class="viewcode-block" id="default_eval_fn"><a class="viewcode-back" href="../../../generated/torch.ao.quantization.default_eval_fn.html#torch.ao.quantization.default_eval_fn">[docs]</a><span class="k">def</span> <span class="nf">default_eval_fn</span><span class="p">(</span><span class="n">model</span><span class="p">,</span> <span class="n">calib_data</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;Define the default evaluation function.</span>

<span class="sd"> Default evaluation function takes a torch.utils.data.Dataset or a list of</span>
<span class="sd"> input Tensors and run the model on the dataset</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">for</span> <span class="n">data</span><span class="p">,</span> <span class="n">target</span> <span class="ow">in</span> <span class="n">calib_data</span><span class="p">:</span>
<span class="n">model</span><span class="p">(</span><span class="n">data</span><span class="p">)</span></div>

<span class="k">class</span> <span class="nc">_DerivedObserverOrFakeQuantize</span><span class="p">(</span><span class="n">ObserverBase</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot; This observer is used to describe an observer whose quantization parameters</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;This observer is used to describe an observer whose quantization parameters</span>
<span class="sd"> are derived from other observers</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="n">dtype</span><span class="p">:</span> <span class="n">torch</span><span class="o">.</span><span class="n">dtype</span><span class="p">,</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<div class="pytorch-left-menu-search">

<div class="version">
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+gitf5ce4d8 ) &#x25BC</a>
<a href='https://pytorch.org/docs/versions.html'>main (2.2.0a0+git1e260c8 ) &#x25BC</a>
</div>


Expand Down
Loading

0 comments on commit 5a2105b

Please sign in to comment.