Skip to content

Commit 7043f56

Browse files
committed
Merge branch 'gh-pages' of https://github.com/tensorspace-team/tensorspace into gh-pages
2 parents fde97cc + 39bed2f commit 7043f56

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

html/docs/modelSequential.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,21 @@
516516
</ul>
517517
</div>
518518

519+
<div id="predict" class="property-title"><a href="https://github.com/tensorspace-team/tensorspace/blob/master/src/tsp-model/Sequential.js#L239">.add( layer )</a> : void</div>
520+
<div>
521+
<ul class="list-content">
522+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
523+
The <span class="highlight-text">add()</span> method is used to append the provided TSP layer object into the TSP Sequential model.
524+
</li>
525+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
526+
The provided layer is added to the last of the sequential list of the model.
527+
</li>
528+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
529+
The provided layer instance will be updated based on the Sequential model configurations.
530+
</li>
531+
</ul>
532+
</div>
533+
519534
<div class="property-title"><a href="https://github.com/tensorspace-team/tensorspace/blob/master/src/tsp-model/AbstractModel.js#L241">.getAllLayers()</a> : Layer[]</div>
520535
<div>
521536
<ul class="list-content">

html/docs/modelSequential_zh.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,21 @@
509509
</ul>
510510
</div>
511511

512+
<div id="predict" class="property-title"><a href="https://github.com/tensorspace-team/tensorspace/blob/master/src/tsp-model/Sequential.js#L239">.add( layer )</a> : void</div>
513+
<div>
514+
<ul class="list-content">
515+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
516+
<span class="highlight-text">add()</span> 方法将所提供的网络层对象添加至顺序模型中。
517+
</li>
518+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
519+
所提供的网络层将被添加至顺序模型中的最后一位。顺序模型的网络层列表将被更新。
520+
</li>
521+
<li class="panel-heading"><i class="material-icons">filter_center_focus</i>
522+
所提供的网络层实例将基于所添加的顺序模型参数进行适当更新。
523+
</li>
524+
</ul>
525+
</div>
526+
512527
<div class="property-title"><a href="https://github.com/tensorspace-team/tensorspace/blob/master/src/tsp-model/AbstractModel.js#L241">.getAllLayers()</a> : Layer[]</div>
513528
<div>
514529
<ul class="list-content">

index_zh.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,19 +284,19 @@
284284

285285
<header>下载</header>
286286

287-
<div>TensorSpace.js可以很好地运行在 Chrome, safari, firefox 浏览器中。在我们的官网中包含了 TensorSpace.js 文档,文件下载和使用样例。</div><br>
288-
<div> TensorSpace.js 的源码可以从 TensorSpace 的 <a href="https://github.com/tensorspace-team/tensorspace">Github</a> 仓库下载。如果有关于 TensorSpace 的使用问题,可以到 github 上的 <a
287+
<div>TensorSpace.js 可以很好地运行在 Chrome, Safari, Firefox 浏览器中。在我们的官网中包含了 TensorSpace.js 文档,文件下载和使用样例。</div><br>
288+
<div>TensorSpace.js 的源码可以从 TensorSpace 的 <a href="https://github.com/tensorspace-team/tensorspace">GitHub</a> 仓库下载。如果有关于 TensorSpace 的使用问题,可以到 GitHub 上的 <a
289289
href="https://github.com/tensorspace-team/tensorspace/issues">issue</a> 部分提出宝贵意见。
290290
</div>
291291

292-
<p class="sub-title">使用NPM下载</p>
292+
<p class="sub-title">使用 NPM 下载</p>
293293
<div>
294294
<pre><code class="bash">
295295
<span class="code-padding-front"> </span> $ npm install tensorspace
296296
</code></pre>
297297
</div>
298298

299-
<p class="sub-title">使用Yarn下载</p>
299+
<p class="sub-title">使用 Yarn 下载</p>
300300
<div>
301301
<pre><code class="bash">
302302
<span class="code-padding-front"> </span> $ yarn add tensorspace

0 commit comments

Comments
 (0)