未验证 提交 a17c3691 编写于 作者: J joejiong 提交者: GitHub

fix fc doc (#32084)

上级 187bf412
...@@ -106,6 +106,7 @@ def fc(x, ...@@ -106,6 +106,7 @@ def fc(x,
weight_attr (ParamAttr, optional): The attribute for the learnable weight. weight_attr (ParamAttr, optional): The attribute for the learnable weight.
The default value is None, and the weight will be initialized to zero. The default value is None, and the weight will be initialized to zero.
For detailed information, please refer to :attr:`paddle.ParamAttr`. For detailed information, please refer to :attr:`paddle.ParamAttr`.
Warning, if x is a list of tensor, weight_attr should also be a list of same length.
bias_attr (ParamAttr|bool, optional): The attribute of the learnable bias. bias_attr (ParamAttr|bool, optional): The attribute of the learnable bias.
If it is set to False, no bias will be added to the output. If it is set to False, no bias will be added to the output.
If it is set to None or one kind of ParamAttr, a bias parameter will If it is set to None or one kind of ParamAttr, a bias parameter will
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册