Modified: incubator/singa/site/trunk/en/docs/loss.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/loss.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/loss.html (original)
+++ incubator/singa/site/trunk/en/docs/loss.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../" src="../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../_static/jquery.js"></script>
+        <script type="text/javascript" src="../_static/underscore.js"></script>
+        <script type="text/javascript" src="../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../genindex.html" />
     <link rel="search" title="Search" href="../search.html" />
@@ -44,21 +50,16 @@
        }
     </style>
 
-
-  
-  <script src="../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -231,58 +232,47 @@ to override these functions</p>
 <dl class="method">
 <dt id="singa.loss.Loss.backward">
 <code class="descname">backward</code><span class="sig-paren">(</span><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.Loss.backward" title="Permalink to this 
definition">¶</a></dt>
-<dd><table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Returns:</th><td 
class="field-body">the grad of x w.r.t. the loss</td>
-</tr>
-</tbody>
-</table>
+<dd><dl class="field-list simple">
+<dt class="field-odd">Returns</dt>
+<dd class="field-odd"><p>the grad of x w.r.t. the loss</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.Loss.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.Loss.evaluate" title="Permalink to this 
definition">¶</a></dt>
-<dd><table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>flag</strong> (<em>int</em>) – must be kEval, to be removed</li>
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction Tensor</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the ground truth 
Tnesor</li>
+<dd><dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>flag</strong> (<em>int</em>) – must be kEval, to be 
removed</p></li>
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction 
Tensor</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the ground truth 
Tnesor</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">the averaged loss for all samples in 
x.</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>the averaged loss for all samples in x.</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.Loss.forward">
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" href="#singa.loss.Loss.forward" 
title="Permalink to this definition">¶</a></dt>
 <dd><p>Compute the loss values.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>flag</strong> – kTrain/kEval or bool. If it is kTrain/True, then 
the backward
-function must be called before calling forward again.</li>
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction Tensor</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the ground truch Tensor, 
x.shape[0] must = y.shape[0]</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>flag</strong> – kTrain/kEval or bool. If it is kTrain/True, 
then the backward
+function must be called before calling forward again.</p></li>
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction 
Tensor</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the ground truch Tensor, 
x.shape[0] must = y.shape[0]</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a tensor of floats for the loss 
values, one per sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a tensor of floats for the loss values, one per 
sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -297,50 +287,40 @@ truth values with the prediction probabi
 <dt id="singa.loss.SigmoidCrossEntropy.backward">
 <code class="descname">backward</code><span class="sig-paren">(</span><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SigmoidCrossEntropy.backward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the gradient of loss w.r.t to x.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Returns:</th><td 
class="field-body">dx = pi - yi.</td>
-</tr>
-</tbody>
-</table>
+<dl class="field-list simple">
+<dt class="field-odd">Returns</dt>
+<dd class="field-odd"><p>dx = pi - yi.</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.SigmoidCrossEntropy.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SigmoidCrossEntropy.evaluate" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compuate the averaged error.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Returns:</th><td 
class="field-body">a float value as the averaged error</td>
-</tr>
-</tbody>
-</table>
+<dl class="field-list simple">
+<dt class="field-odd">Returns</dt>
+<dd class="field-odd"><p>a float value as the averaged error</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.SigmoidCrossEntropy.forward">
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SigmoidCrossEntropy.forward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>loss is -yi * log pi - (1-yi) log (1-pi), where pi=sigmoid(xi)</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>flag</strong> (<em>bool</em>) – true for training; false for 
evaluation</li>
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction Tensor</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the truth Tensor, a binary 
array value per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>flag</strong> (<em>bool</em>) – true for training; false for 
evaluation</p></li>
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction 
Tensor</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the truth Tensor, a binary 
array value per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a Tensor with one error value per 
sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a Tensor with one error value per sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -370,52 +350,42 @@ truth values.</p>
 <dt id="singa.loss.SquaredError.backward">
 <code class="descname">backward</code><span class="sig-paren">(</span><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SquaredError.backward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the gradient of x w.r.t the error.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Returns:</th><td 
class="field-body">x - y</td>
-</tr>
-</tbody>
-</table>
+<dl class="field-list simple">
+<dt class="field-odd">Returns</dt>
+<dd class="field-odd"><p>x - y</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.SquaredError.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SquaredError.evaluate" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compuate the averaged error.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Returns:</th><td 
class="field-body">a float value as the averaged error</td>
-</tr>
-</tbody>
-</table>
+<dl class="field-list simple">
+<dt class="field-odd">Returns</dt>
+<dd class="field-odd"><p>a float value as the averaged error</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.loss.SquaredError.forward">
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>flag</em>, <em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.loss.SquaredError.forward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the error as 0.5 * ||x-y||^2.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>flag</strong> (<em>int</em>) – kTrain or kEval; if kTrain, then 
the backward must be
-called before calling forward again.</li>
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction Tensor</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the truth Tensor, an 
integer value per sample, whose
-value is [0, x.shape[1])</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>flag</strong> (<em>int</em>) – kTrain or kEval; if kTrain, 
then the backward must be
+called before calling forward again.</p></li>
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the prediction 
Tensor</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – the truth Tensor, an 
integer value per sample, whose
+value is [0, x.shape[1])</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a Tensor with one error value per 
sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a Tensor with one error value per sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -433,7 +403,7 @@ value is [0, x.shape[1])</li>
         <a href="metric.html" class="btn btn-neutral float-right" 
title="Metric" accesskey="n" rel="next">Next <span class="fa 
fa-arrow-circle-right"></span></a>
       
       
-        <a href="initializer.html" class="btn btn-neutral" title="Initializer" 
accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> 
Previous</a>
+        <a href="initializer.html" class="btn btn-neutral float-left" 
title="Initializer" accesskey="p" rel="prev"><span class="fa 
fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -442,7 +412,7 @@ value is [0, x.shape[1])</li>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -459,36 +429,17 @@ value is [0, x.shape[1])</li>
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../_static/jquery.js"></script>
-      <script type="text/javascript" src="../_static/underscore.js"></script>
-      <script type="text/javascript" src="../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/en/docs/metric.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/metric.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/metric.html (original)
+++ incubator/singa/site/trunk/en/docs/metric.html Sun Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../" src="../_static/documentation_options.js"></script>
+        <script type="text/javascript" src="../_static/jquery.js"></script>
+        <script type="text/javascript" src="../_static/underscore.js"></script>
+        <script type="text/javascript" src="../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
   <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
     <link rel="index" title="Index" href="../genindex.html" />
     <link rel="search" title="Search" href="../search.html" />
@@ -44,21 +50,16 @@
        }
     </style>
 
-
-  
-  <script src="../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -233,42 +234,34 @@ ground truth to get the metric values.</
 <dt id="singa.metric.Metric.forward">
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Metric.forward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the metric for each sample.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a tensor of floats, one per sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a tensor of floats, one per sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.metric.Metric.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Metric.evaluate" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the averaged metric over all samples.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a float value for the averaged 
metric</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a float value for the averaged metric</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -292,42 +285,34 @@ ground truth to get the metric values.</
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Precision.forward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the precision for each sample.</p>
 <p>Convert tensor to numpy for computation</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth labels, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth labels, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a tensor of floats, one per sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a tensor of floats, one per sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.metric.Precision.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Precision.evaluate" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the averaged precision over all samples.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a float value for the averaged 
metric</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a float value for the averaged metric</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -343,42 +328,34 @@ ground truth to get the metric values.</
 <code class="descname">forward</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Recall.forward" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the recall for each sample.</p>
 <p>Convert tensor to numpy for computation</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth labels, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth labels, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a tensor of floats, one per sample</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a tensor of floats, one per sample</p>
+</dd>
+</dl>
 </dd></dl>
 
 <dl class="method">
 <dt id="singa.metric.Recall.evaluate">
 <code class="descname">evaluate</code><span 
class="sig-paren">(</span><em>x</em>, <em>y</em><span 
class="sig-paren">)</span><a class="headerlink" 
href="#singa.metric.Recall.evaluate" title="Permalink to this 
definition">¶</a></dt>
 <dd><p>Compute the averaged precision over all samples.</p>
-<table class="docutils field-list" frame="void" rules="none">
-<col class="field-name" />
-<col class="field-body" />
-<tbody valign="top">
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td 
class="field-body"><ul class="first simple">
-<li><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</li>
-<li><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</li>
+<dl class="field-list simple">
+<dt class="field-odd">Parameters</dt>
+<dd class="field-odd"><ul class="simple">
+<li><p><strong>x</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – predictions, one row per 
sample</p></li>
+<li><p><strong>y</strong> (<a class="reference internal" 
href="tensor.html#singa.tensor.Tensor" 
title="singa.tensor.Tensor"><em>Tensor</em></a>) – ground truth values, one 
row per sample</p></li>
 </ul>
-</td>
-</tr>
-<tr class="field-even field"><th class="field-name">Returns:</th><td 
class="field-body"><p class="first last">a float value for the averaged 
metric</p>
-</td>
-</tr>
-</tbody>
-</table>
+</dd>
+<dt class="field-even">Returns</dt>
+<dd class="field-even"><p>a float value for the averaged metric</p>
+</dd>
+</dl>
 </dd></dl>
 
 </dd></dl>
@@ -396,7 +373,7 @@ ground truth to get the metric values.</
         <a href="optimizer.html" class="btn btn-neutral float-right" 
title="Optimizer" accesskey="n" rel="next">Next <span class="fa 
fa-arrow-circle-right"></span></a>
       
       
-        <a href="loss.html" class="btn btn-neutral" title="Loss" accesskey="p" 
rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+        <a href="loss.html" class="btn btn-neutral float-left" title="Loss" 
accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> 
Previous</a>
       
     </div>
   
@@ -405,7 +382,7 @@ ground truth to get the metric values.</
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -422,36 +399,17 @@ ground truth to get the metric values.</
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../_static/jquery.js"></script>
-      <script type="text/javascript" src="../_static/underscore.js"></script>
-      <script type="text/javascript" src="../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/en/docs/model_zoo/caffe/README.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/model_zoo/caffe/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/model_zoo/caffe/README.html (original)
+++ incubator/singa/site/trunk/en/docs/model_zoo/caffe/README.html Sun Apr 21 
13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" 
src="../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../../../" 
src="../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" 
src="../../../_static/jquery.js"></script>
+        <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
+        <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../_static/css/theme.css" 
type="text/css" />
+  <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" 
/>
   <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" 
/>
     <link rel="index" title="Index" href="../../../genindex.html" />
     <link rel="search" title="Search" href="../../../search.html" />
@@ -42,21 +48,16 @@
        }
     </style>
 
-
-  
-  <script src="../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -185,41 +186,40 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div 
class="highlight-default notranslate"><div class="highlight"><pre><span></span> 
 <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">www</span><span class="o">.</span><span 
class="n">apache</span><span class="o">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">licenses</span><span class="o">/</span><span 
class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span 
class="n">by</span> <span class="n">applicable</span> <span 
class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> 
<span class="n">to</span> <span class="ow">in</span> <span 
class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span 
class="n">under</span> <span class="n">the</span> <span 
class="n">License</span> <span class="ow">is</span> <span 
class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span 
class="p">,</span> <span class="n">WITHOUT</span> <span 
class="n">WARRANTIES</span> <span class="n">OR</span> <span 
class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span 
class="n">either</span> <span class="n">express</span> <span 
class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  
<span class="n">See</span> <span class="n">the</span> <span 
class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span 
class="n">governing</span> <span class="n">permissions</span> <span 
class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span 
class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="use-parameters-pre-trained-from-caffe-in-singa">
-<span id="use-parameters-pre-trained-from-caffe-in-singa"></span><h1>Use 
parameters pre-trained from Caffe in SINGA<a class="headerlink" 
href="#use-parameters-pre-trained-from-caffe-in-singa" title="Permalink to this 
headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="use-parameters-pre-trained-from-caffe-in-singa">
+<h1>Use parameters pre-trained from Caffe in SINGA<a class="headerlink" 
href="#use-parameters-pre-trained-from-caffe-in-singa" title="Permalink to this 
headline">¶</a></h1>
 <p>In this example, we use SINGA to load the VGG parameters trained by Caffe 
to do image classification.</p>
 <div class="section" id="run-this-example">
-<span id="run-this-example"></span><h2>Run this example<a class="headerlink" 
href="#run-this-example" title="Permalink to this headline">¶</a></h2>
+<h2>Run this example<a class="headerlink" href="#run-this-example" 
title="Permalink to this headline">¶</a></h2>
 <p>You can run this example by simply executing <code class="docutils literal 
notranslate"><span class="pre">run.sh</span> <span 
class="pre">vgg16</span></code> or <code class="docutils literal 
notranslate"><span class="pre">run.sh</span> <span 
class="pre">vgg19</span></code>
 The script does the following work.</p>
 <div class="section" id="obtain-the-caffe-model">
-<span id="obtain-the-caffe-model"></span><h3>Obtain the Caffe model<a 
class="headerlink" href="#obtain-the-caffe-model" title="Permalink to this 
headline">¶</a></h3>
+<h3>Obtain the Caffe model<a class="headerlink" href="#obtain-the-caffe-model" 
title="Permalink to this headline">¶</a></h3>
 <ul class="simple">
-<li>Download caffe model prototxt and parameter binary file.</li>
-<li>Currently we only support the latest caffe format, if your model is in
+<li><p>Download caffe model prototxt and parameter binary file.</p></li>
+<li><p>Currently we only support the latest caffe format, if your model is in
 previous version of caffe, please update it to current format.(This is
-supported by caffe)</li>
-<li>After updating, we can obtain two files, i.e., the prototxt and parameter
-binary file.</li>
+supported by caffe)</p></li>
+<li><p>After updating, we can obtain two files, i.e., the prototxt and 
parameter
+binary file.</p></li>
 </ul>
 </div>
 <div class="section" id="prepare-test-images">
-<span id="prepare-test-images"></span><h3>Prepare test images<a 
class="headerlink" href="#prepare-test-images" title="Permalink to this 
headline">¶</a></h3>
+<h3>Prepare test images<a class="headerlink" href="#prepare-test-images" 
title="Permalink to this headline">¶</a></h3>
 <p>A few sample images are downloaded into the <code class="docutils literal 
notranslate"><span class="pre">test</span></code> folder.</p>
 </div>
 <div class="section" id="predict">
-<span id="predict"></span><h3>Predict<a class="headerlink" href="#predict" 
title="Permalink to this headline">¶</a></h3>
+<h3>Predict<a class="headerlink" href="#predict" title="Permalink to this 
headline">¶</a></h3>
 <p>The <code class="docutils literal notranslate"><span 
class="pre">predict.py</span></code> script creates the VGG model and read the 
parameters,</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span><span class="n">usage</span><span 
class="p">:</span> <span class="n">predict</span><span class="o">.</span><span 
class="n">py</span> <span class="p">[</span><span class="o">-</span><span 
class="n">h</span><span class="p">]</span> <span class="n">model_txt</span> 
<span class="n">model_bin</span> <span class="n">imgclass</span>
 </pre></div>
@@ -246,7 +246,7 @@ You can start the prediction program by
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -263,36 +263,17 @@ You can start the prediction program by
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../_static/jquery.js"></script>
-      <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
-      <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/en/docs/model_zoo/char-rnn/README.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/model_zoo/char-rnn/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/model_zoo/char-rnn/README.html (original)
+++ incubator/singa/site/trunk/en/docs/model_zoo/char-rnn/README.html Sun Apr 
21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" 
src="../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../../../" 
src="../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" 
src="../../../_static/jquery.js"></script>
+        <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
+        <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../_static/css/theme.css" 
type="text/css" />
+  <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" 
/>
   <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" 
/>
     <link rel="index" title="Index" href="../../../genindex.html" />
     <link rel="search" title="Search" href="../../../search.html" />
@@ -44,21 +50,16 @@
        }
     </style>
 
-
-  
-  <script src="../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -125,15 +126,35 @@
 </li>
 <li class="toctree-l3"><a class="reference internal" 
href="../mnist/README.html">Train a RBM model against MNIST dataset</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/alexnet/README.html">Train AlexNet over ImageNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html">name: DenseNet models on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+license: 
https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html#image-classification-using-densenet">Image
 Classification using DenseNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html">name: GoogleNet on ImageNet
+SINGA version: 1.0.1
+SINGA commit: 8c990f7da2de220e8a012c6a8ecc897dc7532744
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/bvlc_googlenet.tar.gz
+parameter_sha1: 0a88e8948b1abca3badfd8d090d6be03f8d7655d
+license: unrestricted 
https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html#image-classification-using-googlenet">Image
 Classification using GoogleNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html">name: Inception V4 on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/inception_v4.tar.gz
+parameter_sha1: 5fdd6f5d8af8fd10e7321d9b38bb87ef14e80d56
+license: https://github.com/tensorflow/models/tree/master/slim</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html#image-classification-using-inception-v4">Image
 Classification using Inception V4</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html">name: Resnets on ImageNet
+SINGA version: 1.1
+SINGA commit: 45ec92d8ffc1fa1385a9307fdf07e21da939ee2f
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/resnet/resnet-18.tar.gz
+license: Apache V2, 
https://github.com/facebook/fb.resnet.torch/blob/master/LICENSE</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html#image-classification-using-residual-networks">Image
 Classification using Residual Networks</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html">name: VGG models on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+license: 
https://github.com/pytorch/vision/blob/master/torchvision/models/vgg.py</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html#image-classification-using-vgg">Image 
Classification using VGG</a></li>
 </ul>
 </li>
@@ -230,19 +251,18 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div 
class="highlight-default notranslate"><div class="highlight"><pre><span></span> 
 <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">www</span><span class="o">.</span><span 
class="n">apache</span><span class="o">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">licenses</span><span class="o">/</span><span 
class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span 
class="n">by</span> <span class="n">applicable</span> <span 
class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> 
<span class="n">to</span> <span class="ow">in</span> <span 
class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span 
class="n">under</span> <span class="n">the</span> <span 
class="n">License</span> <span class="ow">is</span> <span 
class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span 
class="p">,</span> <span class="n">WITHOUT</span> <span 
class="n">WARRANTIES</span> <span class="n">OR</span> <span 
class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span 
class="n">either</span> <span class="n">express</span> <span 
class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  
<span class="n">See</span> <span class="n">the</span> <span 
class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span 
class="n">governing</span> <span class="n">permissions</span> <span 
class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span 
class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="train-char-rnn-over-plain-text">
-<span id="train-char-rnn-over-plain-text"></span><h1>Train Char-RNN over plain 
text<a class="headerlink" href="#train-char-rnn-over-plain-text" 
title="Permalink to this headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="train-char-rnn-over-plain-text">
+<h1>Train Char-RNN over plain text<a class="headerlink" 
href="#train-char-rnn-over-plain-text" title="Permalink to this 
headline">¶</a></h1>
 <p>Recurrent neural networks (RNN) are widely used for modelling sequential 
data,
 e.g., natural language sentences. This example describes how to implement a RNN
 application (or model) using SINGA’s RNN layers.
@@ -252,14 +272,12 @@ source code, with each character as an i
 a RNN using GRU over Linux kernel source code. After training, we expect to
 generate meaningful code from the model.</p>
 <div class="section" id="instructions">
-<span id="instructions"></span><h2>Instructions<a class="headerlink" 
href="#instructions" title="Permalink to this headline">¶</a></h2>
+<h2>Instructions<a class="headerlink" href="#instructions" title="Permalink to 
this headline">¶</a></h2>
 <ul>
-<li><p class="first">Compile and install SINGA. Currently the RNN 
implementation depends on Cudnn with version &gt;= 5.05.</p>
-</li>
-<li><p class="first">Prepare the dataset. Download the <a class="reference 
external" href="http://cs.stanford.edu/people/karpathy/char-rnn/";>kernel source 
code</a>.
-Other plain text files can also be used.</p>
-</li>
-<li><p class="first">Start the training,</p>
+<li><p>Compile and install SINGA. Currently the RNN implementation depends on 
Cudnn with version &gt;= 5.05.</p></li>
+<li><p>Prepare the dataset. Download the <a class="reference external" 
href="http://cs.stanford.edu/people/karpathy/char-rnn/";>kernel source code</a>.
+Other plain text files can also be used.</p></li>
+<li><p>Start the training,</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span>  <span class="n">python</span> <span 
class="n">train</span><span class="o">.</span><span class="n">py</span> <span 
class="n">linux_input</span><span class="o">.</span><span class="n">txt</span>
 </pre></div>
 </div>
@@ -268,7 +286,7 @@ Other plain text files can also be used.
 </pre></div>
 </div>
 </li>
-<li><p class="first">Sample characters from the model by providing the number 
of characters to sample and the seed string.</p>
+<li><p>Sample characters from the model by providing the number of characters 
to sample and the seed string.</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span>  <span class="n">python</span> <span 
class="n">sample</span><span class="o">.</span><span class="n">py</span> <span 
class="s1">&#39;model.bin&#39;</span> <span class="mi">100</span> <span 
class="o">--</span><span class="n">seed</span> <span class="s1">&#39;#include 
&lt;std&#39;</span>
 </pre></div>
 </div>
@@ -289,7 +307,7 @@ Other plain text files can also be used.
         <a href="../mnist/README.html" class="btn btn-neutral float-right" 
title="Train a RBM model against MNIST dataset" accesskey="n" rel="next">Next 
<span class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../cifar10/README.html" class="btn btn-neutral" title="Train 
CNN over Cifar-10" accesskey="p" rel="prev"><span class="fa 
fa-arrow-circle-left"></span> Previous</a>
+        <a href="../cifar10/README.html" class="btn btn-neutral float-left" 
title="Train CNN over Cifar-10" accesskey="p" rel="prev"><span class="fa 
fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -298,7 +316,7 @@ Other plain text files can also be used.
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -315,36 +333,17 @@ Other plain text files can also be used.
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../_static/jquery.js"></script>
-      <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
-      <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: incubator/singa/site/trunk/en/docs/model_zoo/cifar10/README.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/model_zoo/cifar10/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/model_zoo/cifar10/README.html (original)
+++ incubator/singa/site/trunk/en/docs/model_zoo/cifar10/README.html Sun Apr 21 
13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" 
src="../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../../../" 
src="../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" 
src="../../../_static/jquery.js"></script>
+        <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
+        <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../_static/css/theme.css" 
type="text/css" />
+  <link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" 
/>
   <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" 
/>
     <link rel="index" title="Index" href="../../../genindex.html" />
     <link rel="search" title="Search" href="../../../search.html" />
@@ -44,21 +50,16 @@
        }
     </style>
 
-
-  
-  <script src="../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -125,15 +126,35 @@
 <li class="toctree-l3"><a class="reference internal" 
href="../char-rnn/README.html">Train Char-RNN over plain text</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../mnist/README.html">Train a RBM model against MNIST dataset</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/alexnet/README.html">Train AlexNet over ImageNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html">name: DenseNet models on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+license: 
https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/densenet/README.html#image-classification-using-densenet">Image
 Classification using DenseNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html">name: GoogleNet on ImageNet
+SINGA version: 1.0.1
+SINGA commit: 8c990f7da2de220e8a012c6a8ecc897dc7532744
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/bvlc_googlenet.tar.gz
+parameter_sha1: 0a88e8948b1abca3badfd8d090d6be03f8d7655d
+license: unrestricted 
https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/googlenet/README.html#image-classification-using-googlenet">Image
 Classification using GoogleNet</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html">name: Inception V4 on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/inception_v4.tar.gz
+parameter_sha1: 5fdd6f5d8af8fd10e7321d9b38bb87ef14e80d56
+license: https://github.com/tensorflow/models/tree/master/slim</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/inception/README.html#image-classification-using-inception-v4">Image
 Classification using Inception V4</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html">name: Resnets on ImageNet
+SINGA version: 1.1
+SINGA commit: 45ec92d8ffc1fa1385a9307fdf07e21da939ee2f
+parameter_url: 
https://s3-ap-southeast-1.amazonaws.com/dlfile/resnet/resnet-18.tar.gz
+license: Apache V2, 
https://github.com/facebook/fb.resnet.torch/blob/master/LICENSE</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/resnet/README.html#image-classification-using-residual-networks">Image
 Classification using Residual Networks</a></li>
-<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html">–&gt;</a></li>
+<li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html">name: VGG models on ImageNet
+SINGA version: 1.1.1
+SINGA commit:
+license: 
https://github.com/pytorch/vision/blob/master/torchvision/models/vgg.py</a></li>
 <li class="toctree-l3"><a class="reference internal" 
href="../imagenet/vgg/README.html#image-classification-using-vgg">Image 
Classification using VGG</a></li>
 </ul>
 </li>
@@ -230,39 +251,38 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div 
class="highlight-default notranslate"><div class="highlight"><pre><span></span> 
 <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">www</span><span class="o">.</span><span 
class="n">apache</span><span class="o">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">licenses</span><span class="o">/</span><span 
class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span 
class="n">by</span> <span class="n">applicable</span> <span 
class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> 
<span class="n">to</span> <span class="ow">in</span> <span 
class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span 
class="n">under</span> <span class="n">the</span> <span 
class="n">License</span> <span class="ow">is</span> <span 
class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span 
class="p">,</span> <span class="n">WITHOUT</span> <span 
class="n">WARRANTIES</span> <span class="n">OR</span> <span 
class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span 
class="n">either</span> <span class="n">express</span> <span 
class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  
<span class="n">See</span> <span class="n">the</span> <span 
class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span 
class="n">governing</span> <span class="n">permissions</span> <span 
class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span 
class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="train-cnn-over-cifar-10">
-<span id="train-cnn-over-cifar-10"></span><h1>Train CNN over Cifar-10<a 
class="headerlink" href="#train-cnn-over-cifar-10" title="Permalink to this 
headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="train-cnn-over-cifar-10">
+<h1>Train CNN over Cifar-10<a class="headerlink" 
href="#train-cnn-over-cifar-10" title="Permalink to this headline">¶</a></h1>
 <p>Convolution neural network (CNN) is a type of feed-forward artificial neural
 network widely used for image and video classification. In this example, we
 will train three deep CNN models to do image classification for the CIFAR-10 
dataset,</p>
 <ol class="simple">
-<li><a class="reference external" 
href="https://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-18pct.cfg";>AlexNet</a>
-the best validation accuracy (without data augmentation) we achieved was about 
82%.</li>
-<li><a class="reference external" 
href="http://torch.ch/blog/2015/07/30/cifar.html";>VGGNet</a>, the best 
validation accuracy (without data augmentation) we achieved was about 89%.</li>
-<li><a class="reference external" 
href="https://github.com/facebook/fb.resnet.torch";>ResNet</a>, the best 
validation accuracy (without data augmentation) we achieved was about 83%.</li>
-<li><a class="reference external" 
href="https://github.com/BVLC/caffe/tree/master/examples/cifar10";>Alexnet from 
Caffe</a>, SINGA is able to convert model from Caffe seamlessly.</li>
+<li><p><a class="reference external" 
href="https://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-18pct.cfg";>AlexNet</a>
+the best validation accuracy (without data augmentation) we achieved was about 
82%.</p></li>
+<li><p><a class="reference external" 
href="http://torch.ch/blog/2015/07/30/cifar.html";>VGGNet</a>, the best 
validation accuracy (without data augmentation) we achieved was about 
89%.</p></li>
+<li><p><a class="reference external" 
href="https://github.com/facebook/fb.resnet.torch";>ResNet</a>, the best 
validation accuracy (without data augmentation) we achieved was about 
83%.</p></li>
+<li><p><a class="reference external" 
href="https://github.com/BVLC/caffe/tree/master/examples/cifar10";>Alexnet from 
Caffe</a>, SINGA is able to convert model from Caffe seamlessly.</p></li>
 </ol>
 <div class="section" id="instructions">
-<span id="instructions"></span><h2>Instructions<a class="headerlink" 
href="#instructions" title="Permalink to this headline">¶</a></h2>
+<h2>Instructions<a class="headerlink" href="#instructions" title="Permalink to 
this headline">¶</a></h2>
 <div class="section" id="singa-installation">
-<span id="singa-installation"></span><h3>SINGA installation<a 
class="headerlink" href="#singa-installation" title="Permalink to this 
headline">¶</a></h3>
+<h3>SINGA installation<a class="headerlink" href="#singa-installation" 
title="Permalink to this headline">¶</a></h3>
 <p>Users can compile and install SINGA from source or install the Python 
version.
 The code can ran on both CPU and GPU. For GPU training, CUDA and CUDNN (V4 or 
V5)
 are required. Please refer to the installation page for detailed 
instructions.</p>
 </div>
 <div class="section" id="data-preparation">
-<span id="data-preparation"></span><h3>Data preparation<a class="headerlink" 
href="#data-preparation" title="Permalink to this headline">¶</a></h3>
+<h3>Data preparation<a class="headerlink" href="#data-preparation" 
title="Permalink to this headline">¶</a></h3>
 <p>The binary Cifar-10 dataset could be downloaded by</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span><span class="n">python</span> <span 
class="n">download_data</span><span class="o">.</span><span class="n">py</span> 
<span class="nb">bin</span>
 </pre></div>
@@ -273,10 +293,10 @@ are required. Please refer to the instal
 </div>
 </div>
 <div class="section" id="training">
-<span id="training"></span><h3>Training<a class="headerlink" href="#training" 
title="Permalink to this headline">¶</a></h3>
+<h3>Training<a class="headerlink" href="#training" title="Permalink to this 
headline">¶</a></h3>
 <p>There are four training programs</p>
 <ol>
-<li><p class="first">train.py. The following command would train the VGG model 
using the python
+<li><p>train.py. The following command would train the VGG model using the 
python
 version of the Cifar-10 dataset in ‘cifar-10-batches-py’ folder.</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span> <span class="n">python</span> <span 
class="n">train</span><span class="o">.</span><span class="n">py</span> <span 
class="n">vgg</span> <span class="n">cifar</span><span class="o">-</span><span 
class="mi">10</span><span class="o">-</span><span class="n">batches</span><span 
class="o">-</span><span class="n">py</span>
 </pre></div>
@@ -289,24 +309,23 @@ argument</p>
 </pre></div>
 </div>
 </li>
-<li><p class="first">alexnet.cc. It trains the AlexNet model using the CPP 
APIs on a CudaGPU,</p>
+<li><p>alexnet.cc. It trains the AlexNet model using the CPP APIs on a 
CudaGPU,</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span> <span class="o">./</span><span 
class="n">run</span><span class="o">.</span><span class="n">sh</span>
 </pre></div>
 </div>
 </li>
-<li><p class="first">alexnet-parallel.cc. It trains the AlexNet model using 
the CPP APIs on two CudaGPU devices.
+<li><p>alexnet-parallel.cc. It trains the AlexNet model using the CPP APIs on 
two CudaGPU devices.
 The two devices run synchronously to compute the gradients of the mode 
parameters, which are
 averaged on the host CPU device and then be applied to update the 
parameters.</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span> <span class="o">./</span><span 
class="n">run</span><span class="o">-</span><span 
class="n">parallel</span><span class="o">.</span><span class="n">sh</span>
 </pre></div>
 </div>
 </li>
-<li><p class="first">vgg-parallel.cc. It trains the VGG model using the CPP 
APIs on two CudaGPU devices similar to alexnet-parallel.cc.</p>
-</li>
+<li><p>vgg-parallel.cc. It trains the VGG model using the CPP APIs on two 
CudaGPU devices similar to alexnet-parallel.cc.</p></li>
 </ol>
 </div>
 <div class="section" id="prediction">
-<span id="prediction"></span><h3>Prediction<a class="headerlink" 
href="#prediction" title="Permalink to this headline">¶</a></h3>
+<h3>Prediction<a class="headerlink" href="#prediction" title="Permalink to 
this headline">¶</a></h3>
 <p>predict.py includes the prediction function</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span>    <span class="k">def</span> <span 
class="nf">predict</span><span class="p">(</span><span 
class="n">net</span><span class="p">,</span> <span class="n">images</span><span 
class="p">,</span> <span class="n">dev</span><span class="p">,</span> <span 
class="n">topk</span><span class="o">=</span><span class="mi">5</span><span 
class="p">)</span>
 </pre></div>
@@ -334,7 +353,7 @@ The ‘model.bin’ file generated
         <a href="../char-rnn/README.html" class="btn btn-neutral float-right" 
title="Train Char-RNN over plain text" accesskey="n" rel="next">Next <span 
class="fa fa-arrow-circle-right"></span></a>
       
       
-        <a href="../index.html" class="btn btn-neutral" title="Model Zoo" 
accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> 
Previous</a>
+        <a href="../index.html" class="btn btn-neutral float-left" 
title="Model Zoo" accesskey="p" rel="prev"><span class="fa 
fa-arrow-circle-left"></span> Previous</a>
       
     </div>
   
@@ -343,7 +362,7 @@ The ‘model.bin’ file generated
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -360,36 +379,17 @@ The ‘model.bin’ file generated
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" src="../../../_static/jquery.js"></script>
-      <script type="text/javascript" 
src="../../../_static/underscore.js"></script>
-      <script type="text/javascript" 
src="../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" src="../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>

Modified: 
incubator/singa/site/trunk/en/docs/model_zoo/examples/caffe/README.html
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/docs/model_zoo/examples/caffe/README.html?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/docs/model_zoo/examples/caffe/README.html 
(original)
+++ incubator/singa/site/trunk/en/docs/model_zoo/examples/caffe/README.html Sun 
Apr 21 13:56:42 2019
@@ -18,15 +18,21 @@
   
 
   
-
-  
+  <script type="text/javascript" 
src="../../../../_static/js/modernizr.min.js"></script>
   
     
+      <script type="text/javascript" id="documentation_options" 
data-url_root="../../../../" 
src="../../../../_static/documentation_options.js"></script>
+        <script type="text/javascript" 
src="../../../../_static/jquery.js"></script>
+        <script type="text/javascript" 
src="../../../../_static/underscore.js"></script>
+        <script type="text/javascript" 
src="../../../../_static/doctools.js"></script>
+        <script type="text/javascript" 
src="../../../../_static/language_data.js"></script>
+    
+    <script type="text/javascript" 
src="../../../../_static/js/theme.js"></script>
 
-  
+    
 
   
-    <link rel="stylesheet" href="../../../../_static/css/theme.css" 
type="text/css" />
+  <link rel="stylesheet" href="../../../../_static/css/theme.css" 
type="text/css" />
   <link rel="stylesheet" href="../../../../_static/pygments.css" 
type="text/css" />
     <link rel="index" title="Index" href="../../../../genindex.html" />
     <link rel="search" title="Search" href="../../../../search.html" />
@@ -42,21 +48,16 @@
        }
     </style>
 
-
-  
-  <script src="../../../../_static/js/modernizr.min.js"></script>
-
 </head>
 
 <body class="wy-body-for-nav">
 
    
   <div class="wy-grid-for-nav">
-
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
       <div class="wy-side-scroll">
-        <div class="wy-side-nav-search">
+        <div class="wy-side-nav-search" >
           
 
           
@@ -185,41 +186,40 @@
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at<div 
class="highlight-default notranslate"><div class="highlight"><pre><span></span> 
 <span class="n">http</span><span class="p">:</span><span 
class="o">//</span><span class="n">www</span><span class="o">.</span><span 
class="n">apache</span><span class="o">.</span><span class="n">org</span><span 
class="o">/</span><span class="n">licenses</span><span class="o">/</span><span 
class="n">LICENSE</span><span class="o">-</span><span class="mf">2.0</span>
+    with the License.  You may obtain a copy of the License at
 
-<span class="n">Unless</span> <span class="n">required</span> <span 
class="n">by</span> <span class="n">applicable</span> <span 
class="n">law</span> <span class="ow">or</span> <span class="n">agreed</span> 
<span class="n">to</span> <span class="ow">in</span> <span 
class="n">writing</span><span class="p">,</span>
-<span class="n">software</span> <span class="n">distributed</span> <span 
class="n">under</span> <span class="n">the</span> <span 
class="n">License</span> <span class="ow">is</span> <span 
class="n">distributed</span> <span class="n">on</span> <span class="n">an</span>
-<span class="s2">&quot;AS IS&quot;</span> <span class="n">BASIS</span><span 
class="p">,</span> <span class="n">WITHOUT</span> <span 
class="n">WARRANTIES</span> <span class="n">OR</span> <span 
class="n">CONDITIONS</span> <span class="n">OF</span> <span class="n">ANY</span>
-<span class="n">KIND</span><span class="p">,</span> <span 
class="n">either</span> <span class="n">express</span> <span 
class="ow">or</span> <span class="n">implied</span><span class="o">.</span>  
<span class="n">See</span> <span class="n">the</span> <span 
class="n">License</span> <span class="k">for</span> <span class="n">the</span>
-<span class="n">specific</span> <span class="n">language</span> <span 
class="n">governing</span> <span class="n">permissions</span> <span 
class="ow">and</span> <span class="n">limitations</span>
-<span class="n">under</span> <span class="n">the</span> <span 
class="n">License</span><span class="o">.</span>
-</pre></div>
-</div>
-<p>–&gt;</p>
-<div class="section" id="use-parameters-pre-trained-from-caffe-in-singa">
-<span id="use-parameters-pre-trained-from-caffe-in-singa"></span><h1>Use 
parameters pre-trained from Caffe in SINGA<a class="headerlink" 
href="#use-parameters-pre-trained-from-caffe-in-singa" title="Permalink to this 
headline">¶</a></h1>
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><div class="section" id="use-parameters-pre-trained-from-caffe-in-singa">
+<h1>Use parameters pre-trained from Caffe in SINGA<a class="headerlink" 
href="#use-parameters-pre-trained-from-caffe-in-singa" title="Permalink to this 
headline">¶</a></h1>
 <p>In this example, we use SINGA to load the VGG parameters trained by Caffe 
to do image classification.</p>
 <div class="section" id="run-this-example">
-<span id="run-this-example"></span><h2>Run this example<a class="headerlink" 
href="#run-this-example" title="Permalink to this headline">¶</a></h2>
+<h2>Run this example<a class="headerlink" href="#run-this-example" 
title="Permalink to this headline">¶</a></h2>
 <p>You can run this example by simply executing <code class="docutils literal 
notranslate"><span class="pre">run.sh</span> <span 
class="pre">vgg16</span></code> or <code class="docutils literal 
notranslate"><span class="pre">run.sh</span> <span 
class="pre">vgg19</span></code>
 The script does the following work.</p>
 <div class="section" id="obtain-the-caffe-model">
-<span id="obtain-the-caffe-model"></span><h3>Obtain the Caffe model<a 
class="headerlink" href="#obtain-the-caffe-model" title="Permalink to this 
headline">¶</a></h3>
+<h3>Obtain the Caffe model<a class="headerlink" href="#obtain-the-caffe-model" 
title="Permalink to this headline">¶</a></h3>
 <ul class="simple">
-<li>Download caffe model prototxt and parameter binary file.</li>
-<li>Currently we only support the latest caffe format, if your model is in
+<li><p>Download caffe model prototxt and parameter binary file.</p></li>
+<li><p>Currently we only support the latest caffe format, if your model is in
 previous version of caffe, please update it to current format.(This is
-supported by caffe)</li>
-<li>After updating, we can obtain two files, i.e., the prototxt and parameter
-binary file.</li>
+supported by caffe)</p></li>
+<li><p>After updating, we can obtain two files, i.e., the prototxt and 
parameter
+binary file.</p></li>
 </ul>
 </div>
 <div class="section" id="prepare-test-images">
-<span id="prepare-test-images"></span><h3>Prepare test images<a 
class="headerlink" href="#prepare-test-images" title="Permalink to this 
headline">¶</a></h3>
+<h3>Prepare test images<a class="headerlink" href="#prepare-test-images" 
title="Permalink to this headline">¶</a></h3>
 <p>A few sample images are downloaded into the <code class="docutils literal 
notranslate"><span class="pre">test</span></code> folder.</p>
 </div>
 <div class="section" id="predict">
-<span id="predict"></span><h3>Predict<a class="headerlink" href="#predict" 
title="Permalink to this headline">¶</a></h3>
+<h3>Predict<a class="headerlink" href="#predict" title="Permalink to this 
headline">¶</a></h3>
 <p>The <code class="docutils literal notranslate"><span 
class="pre">predict.py</span></code> script creates the VGG model and read the 
parameters,</p>
 <div class="highlight-default notranslate"><div 
class="highlight"><pre><span></span><span class="n">usage</span><span 
class="p">:</span> <span class="n">predict</span><span class="o">.</span><span 
class="n">py</span> <span class="p">[</span><span class="o">-</span><span 
class="n">h</span><span class="p">]</span> <span class="n">model_txt</span> 
<span class="n">model_bin</span> <span class="n">imgclass</span>
 </pre></div>
@@ -246,7 +246,7 @@ You can start the prediction program by
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective 
owners..
+        &copy; Copyright 2019 The Apache Software Foundation. All rights 
reserved. Apache SINGA, Apache, the Apache feather logo, and the Apache SINGA 
project logos are trademarks of The Apache Software Foundation. All other marks 
mentioned may be trademarks or registered trademarks of their respective owners.
 
     </p>
   </div>
@@ -263,36 +263,17 @@ You can start the prediction program by
   
 
 
-  
-
-    <script type="text/javascript">
-        var DOCUMENTATION_OPTIONS = {
-            URL_ROOT:'../../../../',
-            VERSION:'1.1.0',
-            LANGUAGE:'None',
-            COLLAPSE_INDEX:false,
-            FILE_SUFFIX:'.html',
-            HAS_SOURCE:  true,
-            SOURCELINK_SUFFIX: '.txt'
-        };
-    </script>
-      <script type="text/javascript" 
src="../../../../_static/jquery.js"></script>
-      <script type="text/javascript" 
src="../../../../_static/underscore.js"></script>
-      <script type="text/javascript" 
src="../../../../_static/doctools.js"></script>
-
-  
-
-  
-  
-    <script type="text/javascript" 
src="../../../../_static/js/theme.js"></script>
-  
-
   <script type="text/javascript">
       jQuery(function () {
           SphinxRtdTheme.Navigation.enable(true);
       });
   </script>
 
+  
+  
+    
+  
+
 <div class="rst-versions" data-toggle="rst-versions" role="note" 
aria-label="versions">
   <span class="rst-current-version" data-toggle="rst-current-version">
     <span class="fa fa-book"> incubator-singa </span>


Reply via email to