diff --git a/python/paddle/nn/layer/common.py b/python/paddle/nn/layer/common.py index 6c3185934aaaee6483e43e4ba3f11ebdda69e463..73e0b458d77cc16a20b095acd9d2110b7558fe54 100644 --- a/python/paddle/nn/layer/common.py +++ b/python/paddle/nn/layer/common.py @@ -114,8 +114,8 @@ class Linear(Layer): **bias** (Parameter): the learnable bias of this layer. Shape: - - input: Multi-dimentional tensor with shape :math:`[batch\_size, *, in\_features]` . - - output: Multi-dimentional tensor with shape :math:`[batch\_size, *, out\_features]` . + - input: Multi-dimentional tensor with shape :math:`[batch\_size, *, in\_features]` . Its data types are float16, float32, float64 ,The default is float32 . + - output: Multi-dimentional tensor with shape :math:`[batch\_size, *, out\_features]` . The data type is the same as the input . Examples: .. code-block:: python