@@ -3320,6 +3321,7 @@ A fast and simple algorithm for training neural probabilistic language models.</
...
@@ -3320,6 +3321,7 @@ A fast and simple algorithm for training neural probabilistic language models.</
<li><strong>weight</strong> (<em>paddle.v2.config_base.Layer</em>) – weight layer, can be None(default)</li>
<li><strong>weight</strong> (<em>paddle.v2.config_base.Layer</em>) – weight layer, can be None(default)</li>
<li><strong>num_classes</strong> (<em>int</em>) – number of classes.</li>
<li><strong>num_classes</strong> (<em>int</em>) – number of classes.</li>
<li><strong>act</strong> (<em>paddle.v2.Activation.Base</em>) – Activation, default is Sigmoid.</li>
<li><strong>act</strong> (<em>paddle.v2.Activation.Base</em>) – Activation, default is Sigmoid.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>num_neg_samples</strong> (<em>int</em>) – number of negative samples. Default is 10.</li>
<li><strong>num_neg_samples</strong> (<em>int</em>) – number of negative samples. Default is 10.</li>
<li><strong>neg_distribution</strong> (<em>list|tuple|collections.Sequence|None</em>) – The distribution for generating the random negative labels.
<li><strong>neg_distribution</strong> (<em>list|tuple|collections.Sequence|None</em>) – The distribution for generating the random negative labels.
A uniform distribution will be used if not provided.
A uniform distribution will be used if not provided.
@@ -3327,6 +3328,7 @@ A fast and simple algorithm for training neural probabilistic language models.</
...
@@ -3327,6 +3328,7 @@ A fast and simple algorithm for training neural probabilistic language models.</
<li><strong>weight</strong> (<em>paddle.v2.config_base.Layer</em>) – weight layer, can be None(default)</li>
<li><strong>weight</strong> (<em>paddle.v2.config_base.Layer</em>) – weight layer, can be None(default)</li>
<li><strong>num_classes</strong> (<em>int</em>) – number of classes.</li>
<li><strong>num_classes</strong> (<em>int</em>) – number of classes.</li>
<li><strong>act</strong> (<em>paddle.v2.Activation.Base</em>) – Activation, default is Sigmoid.</li>
<li><strong>act</strong> (<em>paddle.v2.Activation.Base</em>) – Activation, default is Sigmoid.</li>
<li><strong>param_attr</strong> (<em>paddle.v2.attr.ParameterAttribute</em>) – The Parameter Attribute|list.</li>
<li><strong>num_neg_samples</strong> (<em>int</em>) – number of negative samples. Default is 10.</li>
<li><strong>num_neg_samples</strong> (<em>int</em>) – number of negative samples. Default is 10.</li>
<li><strong>neg_distribution</strong> (<em>list|tuple|collections.Sequence|None</em>) – The distribution for generating the random negative labels.
<li><strong>neg_distribution</strong> (<em>list|tuple|collections.Sequence|None</em>) – The distribution for generating the random negative labels.
A uniform distribution will be used if not provided.
A uniform distribution will be used if not provided.