Skip to content

Commit a17c369

Browse files
authored
fix fc doc (#32084)
1 parent 187bf41 commit a17c369

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/paddle/static/nn/common.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def fc(x,
106106
weight_attr (ParamAttr, optional): The attribute for the learnable weight.
107107
The default value is None, and the weight will be initialized to zero.
108108
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.
109110
bias_attr (ParamAttr|bool, optional): The attribute of the learnable bias.
110111
If it is set to False, no bias will be added to the output.
111112
If it is set to None or one kind of ParamAttr, a bias parameter will

0 commit comments

Comments
 (0)