From 35f3c258f4a7b2560af50ef1a1f1c7a74e6570e6 Mon Sep 17 00:00:00 2001 From: Infinity_lee Date: Thu, 5 Jan 2023 15:37:07 +0800 Subject: [PATCH] refix 40644 in english docs (#49532) --- python/paddle/nn/layer/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/paddle/nn/layer/common.py b/python/paddle/nn/layer/common.py index be99f722cf..0aa9d6667a 100644 --- a/python/paddle/nn/layer/common.py +++ b/python/paddle/nn/layer/common.py @@ -96,9 +96,9 @@ class Linear(Layer): in_features (int): The number of input units. out_features (int): The number of output units. weight_attr (ParamAttr, optional): The attribute for the learnable - weight of this layer. The default value is None and the weight will be - initialized to zero. For detailed information, please refer to - paddle.ParamAttr. + weight of this layer. The default value is None. If the Initializer of the + param_attr is not set, the parameter is initialized with Xavier. + For detailed information, please refer to paddle.ParamAttr. bias_attr (ParamAttr|bool, optional): The attribute for the learnable bias of this layer. 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