This is an automated email from the ASF dual-hosted git repository.

aaronmarkham pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 5c72962  Publish triggered by CI
5c72962 is described below

commit 5c7296258a79c88c7126b397f59f8b814ed43961
Author: mxnet-ci <mxnet-ci>
AuthorDate: Wed Jul 15 18:40:57 2020 +0000

    Publish triggered by CI
---
 .../docs/_modules/mxnet/gluon/parameter.html       | 60 +++++++++++-----------
 date.txt                                           |  1 -
 feed.xml                                           |  2 +-
 3 files changed, 31 insertions(+), 32 deletions(-)

diff --git a/api/python/docs/_modules/mxnet/gluon/parameter.html 
b/api/python/docs/_modules/mxnet/gluon/parameter.html
index 93a1acb..a0ce43e 100644
--- a/api/python/docs/_modules/mxnet/gluon/parameter.html
+++ b/api/python/docs/_modules/mxnet/gluon/parameter.html
@@ -811,7 +811,7 @@
     <span class="sd">&quot;&quot;&quot;Error for unfinished deferred 
initialization.&quot;&quot;&quot;</span>
     <span class="k">pass</span>
 
-<div class="viewcode-block" id="Parameter"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter">[docs]</a><span 
class="k">class</span> <span class="nc">Parameter</span><span 
class="p">(</span><span class="nb">object</span><span class="p">):</span>
+<span class="k">class</span> <span class="nc">Parameter</span><span 
class="p">(</span><span class="nb">object</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;A Container holding parameters 
(weights) of Blocks.</span>
 
 <span class="sd">    :py:class:`Parameter` holds a copy of the parameter on 
each :py:class:`Context` after</span>
@@ -1181,7 +1181,7 @@
             <span class="n">trainer</span><span class="o">.</span><span 
class="n">_row_sparse_pull</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span class="n">data</span><span 
class="p">,</span> <span class="n">all_row_ids</span><span class="p">,</span> 
<span class="n">full_idx</span><span class="o">=</span><span 
class="kc">True</span><span class="p">)</span>
         <span class="k">return</span> <span class="n">data</span>
 
-<div class="viewcode-block" id="Parameter.initialize"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.initialize">[docs]</a>
    <span class="k">def</span> <span class="nf">initialize</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">init</span><span class="o">=</span><span class="kc">None</span><span 
class="p">,</span> <span class="n">ctx</span><span class="o">=</span><span 
class="kc">None</span><span [...]
+    <span class="k">def</span> <span class="nf">initialize</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">init</span><span class="o">=</span><span class="kc">None</span><span 
class="p">,</span> <span class="n">ctx</span><span class="o">=</span><span 
class="kc">None</span><span class="p">,</span> <span 
class="n">default_init</span><span class="o">=</span><span 
class="n">initializer</span><span class="o">.</span><span class="n">Uniform</s 
[...]
                    <span class="n">force_reinit</span><span 
class="o">=</span><span class="kc">False</span><span class="p">,</span> <span 
class="n">structural_name</span><span class="o">=</span><span 
class="s1">&#39;&#39;</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Initializes parameter and gradient 
arrays. Only used for :py:class:`NDArray` API.</span>
 
@@ -1250,9 +1250,9 @@
                              <span class="s2">&quot;invalid shape: 
</span><span class="si">%s</span><span class="s2">.&quot;</span><span 
class="o">%</span><span class="p">(</span><span class="bp">self</span><span 
class="o">.</span><span class="n">name</span><span class="p">,</span> <span 
class="nb">str</span><span class="p">(</span><span class="bp">self</span><span 
class="o">.</span><span class="n">shape</span><span class="p">)))</span>
 
         <span class="bp">self</span><span class="o">.</span><span 
class="n">_deferred_init</span> <span class="o">=</span> <span 
class="p">(</span><span class="n">init</span><span class="p">,</span> <span 
class="n">ctx</span><span class="p">,</span> <span 
class="n">default_init</span><span class="p">,</span> <span 
class="kc">None</span><span class="p">)</span>
-        <span class="bp">self</span><span class="o">.</span><span 
class="n">_finish_deferred_init</span><span class="p">()</span></div>
+        <span class="bp">self</span><span class="o">.</span><span 
class="n">_finish_deferred_init</span><span class="p">()</span>
 
-<div class="viewcode-block" id="Parameter.reset_ctx"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.reset_ctx">[docs]</a>
    <span class="k">def</span> <span class="nf">reset_ctx</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">reset_ctx</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Re-assign Parameter to other 
contexts.</span>
 
 <span class="sd">        Parameters</span>
@@ -1274,9 +1274,9 @@
             <span class="bp">self</span><span class="o">.</span><span 
class="n">_deferred_init</span> <span class="o">=</span> <span 
class="p">(</span><span class="n">init</span><span class="p">,</span> <span 
class="n">ctx</span><span class="p">,</span> <span 
class="n">default_init</span><span class="p">,</span> <span 
class="n">data</span><span class="p">)</span>
         <span class="k">else</span><span class="p">:</span>
             <span class="k">raise</span> <span 
class="ne">ValueError</span><span class="p">(</span><span 
class="s2">&quot;Cannot reset context for Parameter &#39;</span><span 
class="si">%s</span><span class="s2">&#39; because it &quot;</span>
-                             <span class="s2">&quot;has not been 
initialized.&quot;</span><span class="o">%</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">)</span></div>
+                             <span class="s2">&quot;has not been 
initialized.&quot;</span><span class="o">%</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.set_data"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.set_data">[docs]</a>
    <span class="k">def</span> <span class="nf">set_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">data</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">set_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">data</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Sets this parameter&#39;s value on 
all contexts.&quot;&quot;&quot;</span>
         <span class="bp">self</span><span class="o">.</span><span 
class="n">shape</span> <span class="o">=</span> <span 
class="n">data</span><span class="o">.</span><span class="n">shape</span>
 
@@ -1293,9 +1293,9 @@
                 <span class="n">trainer</span><span class="o">.</span><span 
class="n">_reset_kvstore</span><span class="p">()</span>
 
         <span class="k">for</span> <span class="n">arr</span> <span 
class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_check_and_get</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">_data</span><span 
class="p">,</span> <span class="nb">list</span><span class="p">):</span>
-            <span class="n">arr</span><span class="p">[:]</span> <span 
class="o">=</span> <span class="n">data</span></div>
+            <span class="n">arr</span><span class="p">[:]</span> <span 
class="o">=</span> <span class="n">data</span>
 
-<div class="viewcode-block" id="Parameter.row_sparse_data"><a 
class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.row_sparse_data">[docs]</a>
    <span class="k">def</span> <span class="nf">row_sparse_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">row_sparse_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns a copy of the 
&#39;row_sparse&#39; parameter on the same context as row_id&#39;s.</span>
 <span class="sd">        The copy only retains rows whose ids occur in 
provided row ids.</span>
 <span class="sd">        The parameter must have been initialized on this 
context before.</span>
@@ -1313,9 +1313,9 @@
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span><span 
class="s2">&quot;Cannot return a copy of Parameter </span><span 
class="si">%s</span><span class="s2"> via row_sparse_data() &quot;</span> \
                                <span class="s2">&quot;because its storage type 
is </span><span class="si">%s</span><span class="s2">. Please use data() 
instead.&quot;</span> \
                                <span class="o">%</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">name</span><span class="p">,</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_stype</span><span class="p">))</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_get_row_sparse</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="n">row_id</span><span class="o">.</span><span class="n">ctx</span><span 
class="p">,</span> <span class="n">row_id</span><span class="p">)</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_get_row_sparse</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="n">row_id</span><span class="o">.</span><span class="n">ctx</span><span 
class="p">,</span> <span class="n">row_id</span><span class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.list_row_sparse_data"><a 
class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.list_row_sparse_data">[docs]</a>
    <span class="k">def</span> <span 
class="nf">list_row_sparse_data</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">):</span>
+    <span class="k">def</span> <span 
class="nf">list_row_sparse_data</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns copies of the 
&#39;row_sparse&#39; parameter on all contexts, in the same order</span>
 <span class="sd">        as creation. The copy only retains rows whose ids 
occur in provided row ids.</span>
 <span class="sd">        The parameter must have been initialized 
before.</span>
@@ -1333,9 +1333,9 @@
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span><span 
class="s2">&quot;Cannot return copies of Parameter &#39;</span><span 
class="si">%s</span><span class="s2">&#39; on all contexts via &quot;</span> \
                                <span class="s2">&quot;list_row_sparse_data() 
because its storage type is </span><span class="si">%s</span><span class="s2">. 
Please &quot;</span> \
                                <span class="s2">&quot;use data() 
instead.&quot;</span> <span class="o">%</span> <span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">,</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_stype</span><span class="p">))</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_get_row_sparse</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">)</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_get_row_sparse</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">,</span> <span 
class="n">row_id</span><span class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.data"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.data">[docs]</a>  
  <span class="k">def</span> <span class="nf">data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="o">=</span><span class="kc">None</span><span 
class="p">):</span>
+    <span class="k">def</span> <span class="nf">data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="o">=</span><span class="kc">None</span><span 
class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns a copy of this parameter on 
one context. Must have been</span>
 <span class="sd">        initialized on this context before. For sparse 
parameters, use</span>
 <span class="sd">        :py:meth:`Parameter.row_sparse_data` instead.</span>
@@ -1355,9 +1355,9 @@
                                <span class="s2">&quot;instead.&quot;</span> 
<span class="o">%</span> <span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">,</span> <span class="nb">str</span><span class="p">(</span><span 
class="n">ctx</span><span class="p">),</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_stype</span><span class="p">))</span>
         <span class="n">data</span> <span class="o">=</span> <span 
class="bp">self</span><span class="o">.</span><span 
class="n">_check_and_get</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">_data</span><span 
class="p">,</span> <span class="n">ctx</span><span class="p">)</span>
         <span class="n">dc</span><span class="o">.</span><span 
class="n">set_variable</span><span class="p">(</span><span 
class="n">data</span><span class="p">,</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">var</span><span class="p">())</span>
-        <span class="k">return</span> <span class="n">data</span></div>
+        <span class="k">return</span> <span class="n">data</span>
 
-<div class="viewcode-block" id="Parameter.list_data"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.list_data">[docs]</a>
    <span class="k">def</span> <span class="nf">list_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">list_data</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns copies of this parameter on 
all contexts, in the same order</span>
 <span class="sd">        as creation. For sparse parameters, use 
:py:meth:`Parameter.list_row_sparse_data`</span>
 <span class="sd">        instead.</span>
@@ -1370,9 +1370,9 @@
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span><span 
class="s2">&quot;Cannot return copies of Parameter &#39;</span><span 
class="si">%s</span><span class="s2">&#39; on all contexts via &quot;</span> \
                                <span class="s2">&quot;list_data() because its 
storage type is </span><span class="si">%s</span><span class="s2">. Please use 
&quot;</span> \
                                <span class="s2">&quot;row_sparse_data() 
instead.&quot;</span> <span class="o">%</span> <span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">,</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_stype</span><span class="p">))</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">)</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_data</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.grad"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.grad">[docs]</a>  
  <span class="k">def</span> <span class="nf">grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="o">=</span><span class="kc">None</span><span 
class="p">):</span>
+    <span class="k">def</span> <span class="nf">grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="n">ctx</span><span class="o">=</span><span class="kc">None</span><span 
class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns a gradient buffer for this 
parameter on one context.</span>
 
 <span class="sd">        Parameters</span>
@@ -1384,34 +1384,34 @@
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span>
                 <span class="s2">&quot;Cannot get gradient array for Parameter 
&#39;</span><span class="si">%s</span><span class="s2">&#39; &quot;</span> \
                 <span class="s2">&quot;because 
grad_req=&#39;null&#39;&quot;</span><span class="o">%</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">name</span><span class="p">))</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span class="n">ctx</span><span 
class="p">)</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span class="n">ctx</span><span 
class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.list_grad"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.list_grad">[docs]</a>
    <span class="k">def</span> <span class="nf">list_grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">list_grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns gradient buffers on all 
contexts, in the same order</span>
 <span class="sd">        as :py:meth:`values`.&quot;&quot;&quot;</span>
         <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_data</span> <span class="ow">is</span> <span 
class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> 
<span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span> <span class="ow">is</span> <span 
class="kc">None</span><span class="p">:</span>
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span>
                 <span class="s2">&quot;Cannot get gradient array for Parameter 
&#39;</span><span class="si">%s</span><span class="s2">&#39; &quot;</span> \
                 <span class="s2">&quot;because 
grad_req=&#39;null&#39;&quot;</span><span class="o">%</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">name</span><span class="p">))</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">)</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_check_and_get</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span 
class="nb">list</span><span class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.list_ctx"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.list_ctx">[docs]</a>
    <span class="k">def</span> <span class="nf">list_ctx</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">list_ctx</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns a list of contexts this 
parameter is initialized on.&quot;&quot;&quot;</span>
         <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_data</span> <span class="ow">is</span> <span 
class="kc">None</span><span class="p">:</span>
             <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_deferred_init</span><span class="p">:</span>
                 <span class="k">return</span> <span 
class="bp">self</span><span class="o">.</span><span 
class="n">_deferred_init</span><span class="p">[</span><span 
class="mi">1</span><span class="p">]</span>
             <span class="k">raise</span> <span 
class="ne">RuntimeError</span><span class="p">(</span><span 
class="s2">&quot;Parameter &#39;</span><span class="si">%s</span><span 
class="s2">&#39; has not been initialized&quot;</span><span 
class="o">%</span><span class="bp">self</span><span class="o">.</span><span 
class="n">name</span><span class="p">)</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_ctx_list</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_ctx_list</span>
 
-<div class="viewcode-block" id="Parameter.zero_grad"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.zero_grad">[docs]</a>
    <span class="k">def</span> <span class="nf">zero_grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">zero_grad</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Sets gradient buffer on all 
contexts to 0. No action is taken if</span>
 <span class="sd">        parameter is uninitialized or doesn&#39;t require 
gradient.&quot;&quot;&quot;</span>
         <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_grad</span> <span class="ow">is</span> <span 
class="kc">None</span><span class="p">:</span>
             <span class="k">return</span>
         <span class="k">for</span> <span class="n">i</span> <span 
class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">:</span>
-            <span class="n">ndarray</span><span class="o">.</span><span 
class="n">zeros_like</span><span class="p">(</span><span 
class="n">i</span><span class="p">,</span> <span class="n">out</span><span 
class="o">=</span><span class="n">i</span><span class="p">)</span></div>
+            <span class="n">ndarray</span><span class="o">.</span><span 
class="n">zeros_like</span><span class="p">(</span><span 
class="n">i</span><span class="p">,</span> <span class="n">out</span><span 
class="o">=</span><span class="n">i</span><span class="p">)</span>
 
-<div class="viewcode-block" id="Parameter.var"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.var">[docs]</a>   
 <span class="k">def</span> <span class="nf">var</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="nf">var</span><span 
class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Returns a symbol representing this 
parameter.&quot;&quot;&quot;</span>
         <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_var</span> <span class="ow">is</span> <span 
class="kc">None</span><span class="p">:</span>
             <span class="bp">self</span><span class="o">.</span><span 
class="n">_var</span> <span class="o">=</span> <span 
class="n">symbol</span><span class="o">.</span><span class="n">var</span><span 
class="p">(</span><span class="bp">self</span><span class="o">.</span><span 
class="n">name</span><span class="p">,</span> <span class="n">shape</span><span 
class="o">=</span><span class="bp">self</span><span class="o">.</span><span 
class="n">shape</span><span class="p">,</span> <span class [...]
@@ -1419,9 +1419,9 @@
                                    <span class="n">init</span><span 
class="o">=</span><span class="bp">self</span><span class="o">.</span><span 
class="n">init</span><span class="p">,</span> <span class="n">stype</span><span 
class="o">=</span><span class="bp">self</span><span class="o">.</span><span 
class="n">_stype</span><span class="p">)</span>
             <span class="k">if</span> <span class="n">is_np_array</span><span 
class="p">():</span>
                 <span class="bp">self</span><span class="o">.</span><span 
class="n">_var</span> <span class="o">=</span> <span 
class="bp">self</span><span class="o">.</span><span class="n">_var</span><span 
class="o">.</span><span class="n">as_np_ndarray</span><span class="p">()</span>
-        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_var</span></div>
+        <span class="k">return</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_var</span>
 
-<div class="viewcode-block" id="Parameter.cast"><a class="viewcode-back" 
href="../../../api/gluon/parameter.html#mxnet.gluon.Parameter.cast">[docs]</a>  
  <span class="k">def</span> <span class="nf">cast</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="k">def</span> <span class="nf">cast</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="sd">&quot;&quot;&quot;Cast data and gradient of this 
Parameter to a new data type.</span>
 
 <span class="sd">        Parameters</span>
@@ -1437,7 +1437,7 @@
             <span class="k">if</span> <span class="bp">self</span><span 
class="o">.</span><span class="n">_grad</span> <span class="ow">is</span> <span 
class="kc">None</span><span class="p">:</span>
                 <span class="k">return</span>
             <span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span> <span class="o">=</span> <span class="p">[</span><span 
class="n">i</span><span class="o">.</span><span class="n">astype</span><span 
class="p">(</span><span class="n">dtype</span><span class="p">)</span> <span 
class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span 
class="bp">self</span><span class="o">.</span><span class="n">_grad</span><span 
class="p">]</span>
-            <span class="n">autograd</span><span class="o">.</span><span 
class="n">mark_variables</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">_data</span><span 
class="p">,</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span 
class="bp">self</span><span class="o">.</span><span 
class="n">grad_req</span><span class="p">)</span></div>
+            <span class="n">autograd</span><span class="o">.</span><span 
class="n">mark_variables</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">_data</span><span 
class="p">,</span> <span class="bp">self</span><span class="o">.</span><span 
class="n">_grad</span><span class="p">,</span> <span 
class="bp">self</span><span class="o">.</span><span 
class="n">grad_req</span><span class="p">)</span>
 
     <span class="k">def</span> <span class="nf">_check_and_setattr</span><span 
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span 
class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;check and set attributes for 
parameter&quot;&quot;&quot;</span>
@@ -1470,9 +1470,9 @@
                     <span class="s2">&quot;desired &#39;</span><span 
class="si">%s</span><span class="s2">&#39; vs stored &#39;</span><span 
class="si">%s</span><span class="s2">&#39;.&quot;</span><span 
class="o">%</span><span class="p">(</span>
                         <span class="bp">self</span><span 
class="o">.</span><span class="n">name</span><span class="p">,</span> <span 
class="n">k</span><span class="p">,</span> <span class="nb">str</span><span 
class="p">(</span><span class="n">v</span><span class="p">),</span> <span 
class="nb">str</span><span class="p">(</span><span 
class="nb">getattr</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span class="n">k</span><span 
class="p">)))</span>
             <span class="k">else</span><span class="p">:</span>
-                <span class="nb">setattr</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span class="n">k</span><span 
class="p">,</span> <span class="n">v</span><span class="p">)</span></div>
+                <span class="nb">setattr</span><span class="p">(</span><span 
class="bp">self</span><span class="p">,</span> <span class="n">k</span><span 
class="p">,</span> <span class="n">v</span><span class="p">)</span>
 
-<span class="k">class</span> <span class="nc">Constant</span><span 
class="p">(</span><span class="n">Parameter</span><span class="p">):</span>
+<div class="viewcode-block" id="Constant"><a class="viewcode-back" 
href="../../../api/gluon/constant.html#mxnet.gluon.Constant">[docs]</a><span 
class="k">class</span> <span class="nc">Constant</span><span 
class="p">(</span><span class="n">Parameter</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;A constant parameter for holding 
immutable tensors.</span>
 <span class="sd">    `Constant`s are ignored by `autograd` and `Trainer`, thus 
their values</span>
 <span class="sd">    will not change during training. But you can still update 
their values</span>
@@ -1523,7 +1523,7 @@
         <span class="k">if</span> <span class="n">req</span> <span 
class="o">!=</span> <span class="s1">&#39;null&#39;</span><span 
class="p">:</span>
             <span class="n">warnings</span><span class="o">.</span><span 
class="n">warn</span><span class="p">(</span><span class="s1">&#39;Constant 
parameter &quot;</span><span class="si">{}</span><span class="s1">&quot; does 
not support &#39;</span>
                           <span class="s1">&#39;grad_req other than 
&quot;null&quot;, and new value &quot;</span><span class="si">{}</span><span 
class="s1">&quot; &#39;</span>
-                          <span class="s1">&#39;is ignored.&#39;</span><span 
class="o">.</span><span class="n">format</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">,</span> <span class="n">req</span><span class="p">))</span>
+                          <span class="s1">&#39;is ignored.&#39;</span><span 
class="o">.</span><span class="n">format</span><span class="p">(</span><span 
class="bp">self</span><span class="o">.</span><span class="n">name</span><span 
class="p">,</span> <span class="n">req</span><span class="p">))</span></div>
 </pre></div>
 
         <hr class="feedback-hr-top" />
diff --git a/date.txt b/date.txt
deleted file mode 100644
index d2ff4db..0000000
--- a/date.txt
+++ /dev/null
@@ -1 +0,0 @@
-Wed Jul 15 12:40:51 UTC 2020
diff --git a/feed.xml b/feed.xml
index 09570c4..5187fd5 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><feed 
xmlns="http://www.w3.org/2005/Atom"; ><generator uri="https://jekyllrb.com/"; 
version="4.0.0">Jekyll</generator><link 
href="https://mxnet.apache.org/feed.xml"; rel="self" type="application/atom+xml" 
/><link href="https://mxnet.apache.org/"; rel="alternate" type="text/html" 
/><updated>2020-07-15T12:29:59+00:00</updated><id>https://mxnet.apache.org/feed.xml</id><title
 type="html">Apache MXNet</title><subtitle>A flexible and efficient library for 
deep [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><feed 
xmlns="http://www.w3.org/2005/Atom"; ><generator uri="https://jekyllrb.com/"; 
version="4.0.0">Jekyll</generator><link 
href="https://mxnet.apache.org/feed.xml"; rel="self" type="application/atom+xml" 
/><link href="https://mxnet.apache.org/"; rel="alternate" type="text/html" 
/><updated>2020-07-15T18:30:18+00:00</updated><id>https://mxnet.apache.org/feed.xml</id><title
 type="html">Apache MXNet</title><subtitle>A flexible and efficient library for 
deep [...]
\ No newline at end of file

Reply via email to