From a17c3691185dbccb086a2959f2148e3ce2557a5f Mon Sep 17 00:00:00 2001 From: joejiong Date: Tue, 6 Apr 2021 17:40:55 +0800 Subject: [PATCH] fix fc doc (#32084) --- python/paddle/static/nn/common.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 python/paddle/static/nn/common.py diff --git a/python/paddle/static/nn/common.py b/python/paddle/static/nn/common.py old mode 100644 new mode 100755 index 0806d2c291..f917b4fa09 --- a/python/paddle/static/nn/common.py +++ b/python/paddle/static/nn/common.py @@ -106,6 +106,7 @@ def fc(x, weight_attr (ParamAttr, optional): The attribute for the learnable weight. The default value is None, and the weight will be initialized to zero. 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. 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 -- GitLab