Skip to content

Commit 699e99c

Browse files
committed
remove private path info from module name
1 parent 906533e commit 699e99c

File tree

26 files changed

+65
-65
lines changed

26 files changed

+65
-65
lines changed

docs/0.2.0/torch.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ <h2>Random sampling<a class="headerlink" href="#random-sampling" title="Permalin
18421842
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline"></a></h2>
18431843
<dl class="function">
18441844
<dt id="torch.save">
1845-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition"></a></dt>
1845+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition"></a></dt>
18461846
<dd><p>Saves an object to a disk file.</p>
18471847
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
18481848
<table class="docutils field-list" frame="void" rules="none">
@@ -1864,7 +1864,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
18641864

18651865
<dl class="function">
18661866
<dt id="torch.load">
1867-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition"></a></dt>
1867+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition"></a></dt>
18681868
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal"><span class="pre">torch.save()</span></code></a> from a file.</p>
18691869
<p>torch.load can dynamically remap storages to be loaded on a different device
18701870
using the map_location argument. If it&#8217;s a callable, it will be called with

docs/0.3.0/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ <h3>In-place random sampling<a class="headerlink" href="#in-place-random-samplin
19921992
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline">¶</a></h2>
19931993
<dl class="function">
19941994
<dt id="torch.save">
1995-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
1995+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
19961996
<dd><p>Saves an object to a disk file.</p>
19971997
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
19981998
<table class="docutils field-list" frame="void" rules="none">
@@ -2014,7 +2014,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
20142014

20152015
<dl class="function">
20162016
<dt id="torch.load">
2017-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
2017+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
20182018
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal"><span class="pre">torch.save()</span></code></a> from a file.</p>
20192019
<p>torch.load uses Python&#8217;s unpickling facilities but treats storages,
20202020
which underlie tensors, specially. They are first deserialized on the
@@ -6861,4 +6861,4 @@ <h3>BLAS and LAPACK Operations<a class="headerlink" href="#blas-and-lapack-opera
68616861

68626862

68636863
</body>
6864-
</html>
6864+
</html>

docs/0.3.1/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ <h3>In-place random sampling<a class="headerlink" href="#in-place-random-samplin
19571957
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline">¶</a></h2>
19581958
<dl class="function">
19591959
<dt id="torch.save">
1960-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
1960+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
19611961
<dd><p>Saves an object to a disk file.</p>
19621962
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
19631963
<table class="docutils field-list" frame="void" rules="none">
@@ -1979,7 +1979,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
19791979

19801980
<dl class="function">
19811981
<dt id="torch.load">
1982-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
1982+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
19831983
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal"><span class="pre">torch.save()</span></code></a> from a file.</p>
19841984
<p>torch.load uses Python&#8217;s unpickling facilities but treats storages,
19851985
which underlie tensors, specially. They are first deserialized on the
@@ -6895,4 +6895,4 @@ <h3>BLAS and LAPACK Operations<a class="headerlink" href="#blas-and-lapack-opera
68956895

68966896

68976897
</body>
6898-
</html>
6898+
</html>

docs/0.4.0/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2460,7 +2460,7 @@ <h3>Indexing, Slicing, Joining, Mutating Ops<a class="headerlink" href="#indexin
24602460
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline">¶</a></h2>
24612461
<dl class="function">
24622462
<dt id="torch.save">
2463-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
2463+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
24642464
<dd><p>Saves an object to a disk file.</p>
24652465
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
24662466
<table class="docutils field-list" frame="void" rules="none">
@@ -2498,7 +2498,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
24982498

24992499
<dl class="function">
25002500
<dt id="torch.load">
2501-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/soumith/anaconda3/lib/python3.6/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
2501+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
25022502
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal"><span class="pre">torch.save()</span></code></a> from a file.</p>
25032503
<p><a class="reference internal" href="#torch.load" title="torch.load"><code class="xref py py-meth docutils literal"><span class="pre">torch.load()</span></code></a> uses Python&#8217;s unpickling facilities but treats storages,
25042504
which underlie tensors, specially. They are first deserialized on the
@@ -7880,4 +7880,4 @@ <h3>BLAS and LAPACK Operations<a class="headerlink" href="#blas-and-lapack-opera
78807880

78817881

78827882
</body>
7883-
</html>
7883+
</html>

docs/0.4.1/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,7 +2698,7 @@ <h3>Indexing, Slicing, Joining, Mutating Ops<a class="headerlink" href="#indexin
26982698
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline">¶</a></h2>
26992699
<dl class="function">
27002700
<dt id="torch.save">
2701-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/rzou/dev/pytorch-4.0.1-docs-env/lib/python3.7/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
2701+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
27022702
<dd><p>Saves an object to a disk file.</p>
27032703
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
27042704
<table class="docutils field-list" frame="void" rules="none">
@@ -2736,7 +2736,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
27362736

27372737
<dl class="function">
27382738
<dt id="torch.load">
2739-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/private/home/rzou/dev/pytorch-4.0.1-docs-env/lib/python3.7/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
2739+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
27402740
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal notranslate"><span class="pre">torch.save()</span></code></a> from a file.</p>
27412741
<p><a class="reference internal" href="#torch.load" title="torch.load"><code class="xref py py-meth docutils literal notranslate"><span class="pre">torch.load()</span></code></a> uses Python’s unpickling facilities but treats storages,
27422742
which underlie tensors, specially. They are first deserialized on the
@@ -8613,4 +8613,4 @@ <h3>BLAS and LAPACK Operations<a class="headerlink" href="#blas-and-lapack-opera
86138613

86148614

86158615
</body>
8616-
</html>
8616+
</html>

docs/1.0.0/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,7 +2288,7 @@ <h3>Indexing, Slicing, Joining, Mutating Ops<a class="headerlink" href="#indexin
22882288
<h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to this headline">¶</a></h2>
22892289
<dl class="function">
22902290
<dt id="torch.save">
2291-
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=&lt;module 'pickle' from '/scratch/rzou/pt/release-env/lib/python3.7/pickle.py'&gt;</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
2291+
<code class="descclassname">torch.</code><code class="descname">save</code><span class="sig-paren">(</span><em>obj</em>, <em>f</em>, <em>pickle_module=pickle</em>, <em>pickle_protocol=2</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#save"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.save" title="Permalink to this definition">¶</a></dt>
22922292
<dd><p>Saves an object to a disk file.</p>
22932293
<p>See also: <a class="reference internal" href="notes/serialization.html#recommend-saving-models"><span class="std std-ref">Recommended approach for saving a model</span></a></p>
22942294
<table class="docutils field-list" frame="void" rules="none">
@@ -2326,7 +2326,7 @@ <h2>Serialization<a class="headerlink" href="#serialization" title="Permalink to
23262326

23272327
<dl class="function">
23282328
<dt id="torch.load">
2329-
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=&lt;module 'pickle' from '/scratch/rzou/pt/release-env/lib/python3.7/pickle.py'&gt;</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
2329+
<code class="descclassname">torch.</code><code class="descname">load</code><span class="sig-paren">(</span><em>f</em>, <em>map_location=None</em>, <em>pickle_module=pickle</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/torch/serialization.html#load"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#torch.load" title="Permalink to this definition">¶</a></dt>
23302330
<dd><p>Loads an object saved with <a class="reference internal" href="#torch.save" title="torch.save"><code class="xref py py-func docutils literal notranslate"><span class="pre">torch.save()</span></code></a> from a file.</p>
23312331
<p><a class="reference internal" href="#torch.load" title="torch.load"><code class="xref py py-meth docutils literal notranslate"><span class="pre">torch.load()</span></code></a> uses Python’s unpickling facilities but treats storages,
23322332
which underlie tensors, specially. They are first deserialized on the
@@ -9069,4 +9069,4 @@ <h2>Resources</h2>
90699069
})
90709070
</script>
90719071
</body>
9072-
</html>
9072+
</html>

0 commit comments

Comments
 (0)