Skip to content

Commit be43cf0

Browse files
committed
🔖 Publish docs for PyTorch v1.8.0 and torchvision v0.9.0.
1 parent 6ce829d commit be43cf0

File tree

1,031 files changed

+202359
-48475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,031 files changed

+202359
-48475
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ No need to clone the huge PyTorch repo. No need to install Sphinx. No need to wa
1212

1313
| Docs | Version | Release Page |
1414
| ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
15-
| PyTorch | [![torch version](https://img.shields.io/badge/torch_version-v1.7.0-282828.svg?labelColor=4F4F4F&logo=PyTorch)](https://pytorch.org/blog/pytorch-1.7-released/) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.7.0) |
16-
| torchvision | [![torchvision version](https://img.shields.io/badge/torchvision_version-v0.8.0-282828.svg?labelColor=4F4F4FF&logo=PyTorch)](https://github.com/pytorch/vision/releases/tag/v0.8.0) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.7.0) |
15+
| PyTorch | [![torch version](https://img.shields.io/badge/torch_version-v1.8.0-282828.svg?labelColor=4F4F4F&logo=PyTorch)](https://pytorch.org/blog/pytorch-1.8-released/) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.8.0) |
16+
| torchvision | [![torchvision version](https://img.shields.io/badge/torchvision_version-v0.9.0-282828.svg?labelColor=4F4F4FF&logo=PyTorch)](https://github.com/pytorch/vision/releases/tag/v0.9.0) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.8.0) |
1717
| Numpy | [![numpy version](https://badgen.net/badge/NumPy%20version/v1.19.0/black?icon=dockbit)](https://numpy.org/doc/1.19/release.html) | [Link](https://numpy.org/doc) |
1818
| Scikit-learn | [![scikit-learn version](https://badgen.net/badge/Scikit-learn%20version/v0.22/black?icon=libraries)](https://github.com/scikit-learn/scikit-learn/releases/tag/0.23.2) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.7.1) |
1919
| Matplotlib | [![matplotlib version](https://badgen.net/badge/Matplotlib%20version/v3.3.1/black?icon=graphql)](https://github.com/matplotlib/matplotlib/releases/tag/v3.3.1) | [Link](https://github.com/unknownue/PyTorch.docs/releases/tag/v1.6.1) |
2020

2121
## How to use
2222

23-
You can download from [release page](https://github.com/unknownue/PyTorch.docs/releases)(recommended), or clone this repo(about 300+MB) by
23+
You can download from [release page](https://github.com/unknownue/PyTorch.docs/releases)(recommended), or clone this repo(about 700+MB) by
2424

2525
```shell
2626
$ git clone https://github.com/unknownue/PyTorch.docs.git
@@ -30,4 +30,4 @@ The documentation of PyTorch is in `torch` directory, and that of torchvision is
3030

3131
Open `Index.html` to view the documentation.
3232

33-
If you want to build by yourself, the `build` directory contains the build configuration in docker.
33+
If you want to build by yourself, the `build` directory contains the build configuration in docker.

torch/__config__.html

Lines changed: 123 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<!-- <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> -->
3232
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-beta/dist/katex.min.css" type="text/css" />
3333
<link rel="stylesheet" href="_static/css/jit.css" type="text/css" />
34-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" type="text/css" />
34+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css" type="text/css" />
3535
<link rel="stylesheet" href="_static/katex-math.css" type="text/css" />
3636
<link rel="index" title="Index" href="genindex.html" />
3737
<link rel="search" title="Search" href="search.html" />
@@ -60,6 +60,7 @@
6060
<link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size2-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
6161
<link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Size3-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
6262
<link rel="preload" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/fonts/KaTeX_Caligraphic-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
63+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
6364
</head>
6465

6566
<div class="container-fluid header-holder tutorials-header" id="header-holder">
@@ -74,21 +75,7 @@
7475
</li>
7576

7677
<li>
77-
<div class="ecosystem-dropdown">
78-
<a id="dropdownMenuButton" data-toggle="ecosystem-dropdown">
79-
Ecosystem
80-
</a>
81-
<div class="ecosystem-dropdown-menu">
82-
<a class="nav-dropdown-item" href="https://pytorch.org/hub"">
83-
<span class=dropdown-title>Models (Beta)</span>
84-
<p>Discover, publish, and reuse pre-trained models</p>
85-
</a>
86-
<a class="nav-dropdown-item" href="https://pytorch.org/ecosystem">
87-
<span class=dropdown-title>Tools & Libraries</span>
88-
<p>Explore the ecosystem of tools and libraries</p>
89-
</a>
90-
</div>
91-
</div>
78+
<a href="https://pytorch.org/ecosystem">Ecosystem</a>
9279
</li>
9380

9481
<li>
@@ -104,23 +91,68 @@
10491
</li>
10592

10693
<li class="active">
107-
<a href="https://pytorch.org/docs/stable/index.html">Docs</a>
94+
<div id="resourcesDropdownButton" data-toggle="resources-dropdown" class="resources-dropdown">
95+
<a class="resource-option with-down-orange-arrow">
96+
Docs
97+
</a>
98+
<div class="resources-dropdown-menu">
99+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/docs/stable/index.html">
100+
<span class="dropdown-title">PyTorch</span>
101+
<p></p>
102+
</a>
103+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/audio/stable/index.html">
104+
<span class="dropdown-title">torchaudio</span>
105+
<p></p>
106+
</a>
107+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/text/stable/index.html">
108+
<span class="dropdown-title">torchtext</span>
109+
<p></p>
110+
</a>
111+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/vision/stable/index.html">
112+
<span class="dropdown-title">torchvision</span>
113+
<p></p>
114+
</a>
115+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/elastic/">
116+
<span class="dropdown-title">TorchElastic</span>
117+
<p></p>
118+
</a>
119+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/serve/">
120+
<span class="dropdown-title">TorchServe</span>
121+
<p></p>
122+
</a>
123+
<a class="doc-dropdown-option nav-dropdown-item" href="https://pytorch.org/xla">
124+
<span class="dropdown-title">PyTorch on XLA Devices</span>
125+
<p></p>
126+
</a>
127+
</div>
108128
</li>
109129

110130
<li>
111-
<div class="resources-dropdown">
112-
<a id="resourcesDropdownButton" data-toggle="resources-dropdown">
131+
<div id="resourcesDropdownButton" data-toggle="resources-dropdown" class="resources-dropdown">
132+
<a class="resource-option with-down-arrow">
113133
Resources
114134
</a>
115135
<div class="resources-dropdown-menu">
116-
<a class="nav-dropdown-item" href="https://pytorch.org/resources"">
117-
<span class=dropdown-title>Developer Resources</span>
118-
<p>Find resources and get questions answered</p>
119-
</a>
120136
<a class="nav-dropdown-item" href="https://pytorch.org/features">
121-
<span class=dropdown-title>About</span>
137+
<span class="dropdown-title">About</span>
122138
<p>Learn about PyTorch’s features and capabilities</p>
123139
</a>
140+
<a class="nav-dropdown-item" href="https://pytorch.org/#community-module">
141+
<span class="dropdown-title">Community</span>
142+
<p>Join the PyTorch developer community to contribute, learn, and get your questions answered.</p>
143+
</a>
144+
<a class="nav-dropdown-item" href="https://pytorch.org/resources">
145+
<span class="dropdown-title">Developer Resources</span>
146+
<p>Find resources and get questions answered</p>
147+
</a>
148+
<a class="nav-dropdown-item" href="https://discuss.pytorch.org/" target="_blank">
149+
<span class="dropdown-title">Forums</span>
150+
<p>A place to discuss PyTorch code, issues, install, research</p>
151+
</a>
152+
<a class="nav-dropdown-item" href="https://pytorch.org/hub">
153+
<span class="dropdown-title">Models (Beta)</span>
154+
<p>Discover, publish, and reuse pre-trained models</p>
155+
</a>
124156
</div>
125157
</div>
126158
</li>
@@ -133,11 +165,9 @@
133165

134166
<a class="main-menu-open-button" href="#" data-behavior="open-mobile-menu"></a>
135167
</div>
136-
137168
</div>
138169
</div>
139170

140-
141171
<body class="pytorch-body">
142172

143173

@@ -159,7 +189,7 @@
159189

160190

161191
<div class="version">
162-
master (1.7.0 )
192+
master (1.8.0 )
163193
</div>
164194

165195

@@ -205,6 +235,7 @@
205235
<li class="toctree-l1"><a class="reference internal" href="notes/extending.html">Extending PyTorch</a></li>
206236
<li class="toctree-l1"><a class="reference internal" href="notes/faq.html">Frequently Asked Questions</a></li>
207237
<li class="toctree-l1"><a class="reference internal" href="notes/large_scale_deployments.html">Features for large-scale deployments</a></li>
238+
<li class="toctree-l1"><a class="reference internal" href="notes/modules.html">Modules</a></li>
208239
<li class="toctree-l1"><a class="reference internal" href="notes/multiprocessing.html">Multiprocessing best practices</a></li>
209240
<li class="toctree-l1"><a class="reference internal" href="notes/randomness.html">Reproducibility</a></li>
210241
<li class="toctree-l1"><a class="reference internal" href="notes/serialization.html">Serialization semantics</a></li>
@@ -231,18 +262,24 @@
231262
<li class="toctree-l1"><a class="reference internal" href="distributions.html">torch.distributions</a></li>
232263
<li class="toctree-l1"><a class="reference internal" href="fft.html">torch.fft</a></li>
233264
<li class="toctree-l1"><a class="reference internal" href="futures.html">torch.futures</a></li>
265+
<li class="toctree-l1"><a class="reference internal" href="fx.html">torch.fx</a></li>
234266
<li class="toctree-l1"><a class="reference internal" href="hub.html">torch.hub</a></li>
235267
<li class="toctree-l1"><a class="reference internal" href="jit.html">torch.jit</a></li>
236268
<li class="toctree-l1"><a class="reference internal" href="linalg.html">torch.linalg</a></li>
269+
<li class="toctree-l1"><a class="reference internal" href="torch.overrides.html">torch.overrides</a></li>
270+
<li class="toctree-l1"><a class="reference internal" href="profiler.html">torch.profiler</a></li>
237271
<li class="toctree-l1"><a class="reference internal" href="nn.init.html">torch.nn.init</a></li>
238272
<li class="toctree-l1"><a class="reference internal" href="onnx.html">torch.onnx</a></li>
239273
<li class="toctree-l1"><a class="reference internal" href="optim.html">torch.optim</a></li>
240274
<li class="toctree-l1"><a class="reference internal" href="complex_numbers.html">Complex Numbers</a></li>
275+
<li class="toctree-l1"><a class="reference internal" href="ddp_comm_hooks.html">DDP Communication Hooks</a></li>
276+
<li class="toctree-l1"><a class="reference internal" href="pipeline.html">Pipeline Parallelism</a></li>
241277
<li class="toctree-l1"><a class="reference internal" href="quantization.html">Quantization</a></li>
242278
<li class="toctree-l1"><a class="reference internal" href="rpc.html">Distributed RPC Framework</a></li>
243279
<li class="toctree-l1"><a class="reference internal" href="random.html">torch.random</a></li>
244280
<li class="toctree-l1"><a class="reference internal" href="sparse.html">torch.sparse</a></li>
245281
<li class="toctree-l1"><a class="reference internal" href="storage.html">torch.Storage</a></li>
282+
<li class="toctree-l1"><a class="reference internal" href="benchmark_utils.html">torch.utils.benchmark</a></li>
246283
<li class="toctree-l1"><a class="reference internal" href="bottleneck.html">torch.utils.bottleneck</a></li>
247284
<li class="toctree-l1"><a class="reference internal" href="checkpoint.html">torch.utils.checkpoint</a></li>
248285
<li class="toctree-l1"><a class="reference internal" href="cpp_extension.html">torch.utils.cpp_extension</a></li>
@@ -258,9 +295,9 @@
258295
</ul>
259296
<p class="caption"><span class="caption-text">Libraries</span></p>
260297
<ul>
261-
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/audio">torchaudio</a></li>
262-
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/text">torchtext</a></li>
263-
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/vision">torchvision</a></li>
298+
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/audio/stable">torchaudio</a></li>
299+
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/text/stable">torchtext</a></li>
300+
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/vision/stable">torchvision</a></li>
264301
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/elastic/">TorchElastic</a></li>
265302
<li class="toctree-l1"><a class="reference external" href="https://pytorch.org/serve">TorchServe</a></li>
266303
<li class="toctree-l1"><a class="reference external" href="http://pytorch.org/xla/">PyTorch on XLA Devices</a></li>
@@ -592,10 +629,6 @@ <h2>Resources</h2>
592629
<a href="https://pytorch.org/get-started">Get Started</a>
593630
</li>
594631

595-
<li>
596-
<a href="https://pytorch.org/features">Features</a>
597-
</li>
598-
599632
<li>
600633
<a href="https://pytorch.org/ecosystem">Ecosystem</a>
601634
</li>
@@ -616,14 +649,66 @@ <h2>Resources</h2>
616649
<a href="https://pytorch.org/tutorials">Tutorials</a>
617650
</li>
618651

619-
<li class="active">
620-
<a href="https://pytorch.org/docs/stable/index.html">Docs</a>
652+
<li class="resources-mobile-menu-title" class="active">
653+
Docs
621654
</li>
622655

623-
<li>
624-
<a href="https://pytorch.org/resources">Resources</a>
656+
<ul class="resources-mobile-menu-items">
657+
<li>
658+
<a href="https://pytorch.org/docs/stable/index.html">PyTorch</a>
659+
</li>
660+
661+
<li>
662+
<a href="https://pytorch.org/audio/stable/index.html">torchaudio</a>
663+
</li>
664+
665+
<li>
666+
<a href="https://pytorch.org/text/stable/index.html">torchtext</a>
667+
</li>
668+
669+
<li>
670+
<a href="https://pytorch.org/vision/stable/index.html">torchvision</a>
671+
</li>
672+
673+
<li>
674+
<a href="https://pytorch.org/elastic/">TorchElastic</a>
675+
</li>
676+
677+
<li>
678+
<a href="https://pytorch.org/serve/">TorchServe</a>
679+
</li>
680+
681+
<li>
682+
<a href="https://pytorch.org/xla">PyTorch on XLA Devices</a>
683+
</li>
684+
</ul>
685+
686+
<li class="resources-mobile-menu-title">
687+
Resources
625688
</li>
626689

690+
<ul class="resources-mobile-menu-items">
691+
<li>
692+
<a href="https://pytorch.org/resources">Developer Resources</a>
693+
</li>
694+
695+
<li>
696+
<a href="https://pytorch.org/features">About</a>
697+
</li>
698+
699+
<li>
700+
<a href="https://pytorch.org/hub">Models (Beta)</a>
701+
</li>
702+
703+
<li>
704+
<a href="https://pytorch.org/#community-module">Community</a>
705+
</li>
706+
707+
<li>
708+
<a href="https://discuss.pytorch.org/">Forums</a>
709+
</li>
710+
</ul>
711+
627712
<li>
628713
<a href="https://github.com/pytorch/pytorch">Github</a>
629714
</li>

torch/_images/CELU.png

0 Bytes
Loading

torch/_images/ELU.png

0 Bytes
Loading

torch/_images/GELU.png

0 Bytes
Loading

torch/_images/Hardshrink.png

0 Bytes
Loading

torch/_images/Hardtanh.png

0 Bytes
Loading

torch/_images/LeakyReLU.png

0 Bytes
Loading

torch/_images/LogSigmoid.png

0 Bytes
Loading

torch/_images/PReLU.png

0 Bytes
Loading

0 commit comments

Comments
 (0)