<li><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</li>
<li><strong>pool_type</strong> (<em>string</em>) – The pooling type of sequence_pool.
It supports average, sum, sqrt and max.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">The sequence pooling variable which is a Tensor.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">The sequence’s first step variable which is a Tensor.</td>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">The sequence’s last step variable which is a Tensor.</td>
<li><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</li>
<li><strong>pool_type</strong> (<em>string</em>) – The pooling type of sequence_pool.
It supports average, sum, sqrt and max.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">返回:</th><tdclass="field-body"><pclass="first last">The sequence pooling variable which is a Tensor.</p>
<trclass="field-odd field"><thclass="field-name">参数:</th><tdclass="field-body"><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</td>
</tr>
<trclass="field-even field"><thclass="field-name">返回:</th><tdclass="field-body">The sequence’s first step variable which is a Tensor.</td>
<trclass="field-odd field"><thclass="field-name">参数:</th><tdclass="field-body"><strong>input</strong> (<em>variable</em>) – The input variable which is a LoDTensor.</td>
</tr>
<trclass="field-even field"><thclass="field-name">返回:</th><tdclass="field-body">The sequence’s last step variable which is a Tensor.</td>