<trclass="field-even field"><thclass="field-name">Raises:</th><tdclass="field-body"><pclass="first last"><codeclass="xref py py-exc docutils literal"><spanclass="pre">ValueError</span></code>– If rank of input tensor is less than 2.</p>
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
<p>This function can take in multiple inputs and performs the Fully Connected
<pclass="rubric">Examples</p>
function (linear transformation) on top of each of them.
<li><strong>size</strong>– The size of the layer</li>
<li><strong>is_sparse</strong> (<em>bool</em>) – Boolean flag that specifying whether the input is sparse</li>
<li><strong>is_sparse</strong>– A flag that decleares whether the input is sparse</li>
<li><strong>param_attr</strong> (<em>ParamAttr</em>) – Parameters for this layer</li>
<li><strong>param_attr</strong>– Parameters for this layer</li>
<li><strong>dtype</strong> (<em>np.dtype|core.DataType|str</em>) – The type of data : float32, float_16, int etc</li>
<li><strong>dtype</strong>– The type of data : float32, float_16, int etc</li>
<li><strong>main_program</strong>– Name of the main program that calls this</li>
<li><strong>startup_program</strong>– Name of the startup program</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">The tensor variable storing the embeddings of the supplied inputs.</p>
<li><strong>size</strong>– The size of the layer</li>
<li><strong>is_sparse</strong> (<em>bool</em>) – Boolean flag that specifying whether the input is sparse</li>
<li><strong>is_sparse</strong>– A flag that decleares whether the input is sparse</li>
<li><strong>param_attr</strong> (<em>ParamAttr</em>) – Parameters for this layer</li>
<li><strong>param_attr</strong>– Parameters for this layer</li>
<li><strong>dtype</strong> (<em>np.dtype|core.DataType|str</em>) – The type of data : float32, float_16, int etc</li>
<li><strong>dtype</strong>– The type of data : float32, float_16, int etc</li>
<li><strong>main_program</strong>– Name of the main program that calls this</li>
<li><strong>startup_program</strong>– Name of the startup program</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">The tensor variable storing the embeddings of the supplied inputs.</p>
<trclass="field-even field"><thclass="field-name">Raises:</th><tdclass="field-body"><pclass="first last"><codeclass="xref py py-exc docutils literal"><spanclass="pre">ValueError</span></code>– If rank of input tensor is less than 2.</p>
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
<p>This function can take in multiple inputs and performs the Fully Connected
<pclass="rubric">Examples</p>
function (linear transformation) on top of each of them.
<li><strong>size</strong>– The size of the layer</li>
<li><strong>is_sparse</strong> (<em>bool</em>) – Boolean flag that specifying whether the input is sparse</li>
<li><strong>is_sparse</strong>– A flag that decleares whether the input is sparse</li>
<li><strong>param_attr</strong> (<em>ParamAttr</em>) – Parameters for this layer</li>
<li><strong>param_attr</strong>– Parameters for this layer</li>
<li><strong>dtype</strong> (<em>np.dtype|core.DataType|str</em>) – The type of data : float32, float_16, int etc</li>
<li><strong>dtype</strong>– The type of data : float32, float_16, int etc</li>
<li><strong>main_program</strong>– Name of the main program that calls this</li>
<li><strong>startup_program</strong>– Name of the startup program</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
<trclass="field-even field"><thclass="field-name">返回:</th><tdclass="field-body"><pclass="first">The tensor variable storing the embeddings of the supplied inputs.</p>
<li><strong>size</strong>– The size of the layer</li>
<li><strong>is_sparse</strong> (<em>bool</em>) – Boolean flag that specifying whether the input is sparse</li>
<li><strong>is_sparse</strong>– A flag that decleares whether the input is sparse</li>
<li><strong>param_attr</strong> (<em>ParamAttr</em>) – Parameters for this layer</li>
<li><strong>param_attr</strong>– Parameters for this layer</li>
<li><strong>dtype</strong> (<em>np.dtype|core.DataType|str</em>) – The type of data : float32, float_16, int etc</li>
<li><strong>dtype</strong>– The type of data : float32, float_16, int etc</li>
<li><strong>main_program</strong>– Name of the main program that calls this</li>
<li><strong>startup_program</strong>– Name of the startup program</li>
</ul>
</ul>
</td>
</td>
</tr>
</tr>
<trclass="field-even field"><thclass="field-name">返回:</th><tdclass="field-body"><pclass="first">The tensor variable storing the embeddings of the supplied inputs.</p>