提交 5c49efc0 编写于 作者: T Travis CI

Deploy to GitHub Pages: cb6b468e

上级 8ec680e8
...@@ -248,9 +248,10 @@ ...@@ -248,9 +248,10 @@
<dl class="function"> <dl class="function">
<dt> <dt>
<code class="descclassname">paddle.v2.fluid.nets.</code><code class="descname">glu</code><span class="sig-paren">(</span><em>input</em>, <em>dim=-1</em><span class="sig-paren">)</span></dt> <code class="descclassname">paddle.v2.fluid.nets.</code><code class="descname">glu</code><span class="sig-paren">(</span><em>input</em>, <em>dim=-1</em><span class="sig-paren">)</span></dt>
<dd><p>The gated linear unit composed by split and elementwise multiplication. <dd><p>The gated linear unit composed by split, sigmoid activation and elementwise
Specifically, Split the input into two equal sized parts <span class="math">\(a\)</span> and multiplication. Specifically, Split the input into two equal sized parts
<span class="math">\(b\)</span> along the given dimension and then compute as following:</p> <span class="math">\(a\)</span> and <span class="math">\(b\)</span> along the given dimension and then compute as
following:</p>
<blockquote> <blockquote>
<div><div class="math"> <div><div class="math">
\[{GLU}(a, b)= a \otimes \sigma(b)\]</div> \[{GLU}(a, b)= a \otimes \sigma(b)\]</div>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -267,9 +267,10 @@ ...@@ -267,9 +267,10 @@
<dl class="function"> <dl class="function">
<dt> <dt>
<code class="descclassname">paddle.v2.fluid.nets.</code><code class="descname">glu</code><span class="sig-paren">(</span><em>input</em>, <em>dim=-1</em><span class="sig-paren">)</span></dt> <code class="descclassname">paddle.v2.fluid.nets.</code><code class="descname">glu</code><span class="sig-paren">(</span><em>input</em>, <em>dim=-1</em><span class="sig-paren">)</span></dt>
<dd><p>The gated linear unit composed by split and elementwise multiplication. <dd><p>The gated linear unit composed by split, sigmoid activation and elementwise
Specifically, Split the input into two equal sized parts <span class="math">\(a\)</span> and multiplication. Specifically, Split the input into two equal sized parts
<span class="math">\(b\)</span> along the given dimension and then compute as following:</p> <span class="math">\(a\)</span> and <span class="math">\(b\)</span> along the given dimension and then compute as
following:</p>
<blockquote> <blockquote>
<div><div class="math"> <div><div class="math">
\[{GLU}(a, b)= a \otimes \sigma(b)\]</div> \[{GLU}(a, b)= a \otimes \sigma(b)\]</div>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册