We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 187bf41 commit a17c369Copy full SHA for a17c369
1 file changed
python/paddle/static/nn/common.py
100644
100755
@@ -106,6 +106,7 @@ def fc(x,
106
weight_attr (ParamAttr, optional): The attribute for the learnable weight.
107
The default value is None, and the weight will be initialized to zero.
108
For detailed information, please refer to :attr:`paddle.ParamAttr`.
109
+ Warning, if x is a list of tensor, weight_attr should also be a list of same length.
110
bias_attr (ParamAttr|bool, optional): The attribute of the learnable bias.
111
If it is set to False, no bias will be added to the output.
112
If it is set to None or one kind of ParamAttr, a bias parameter will
0 commit comments