diff --git a/mindspore/nn/layer/basic.py b/mindspore/nn/layer/basic.py index e5ed147b857..0cf4cd5e99b 100644 --- a/mindspore/nn/layer/basic.py +++ b/mindspore/nn/layer/basic.py @@ -156,10 +156,10 @@ class Dense(Cell): ValueError: If weight_init or bias_init shape is incorrect. Inputs: - - **input** (Tensor) - Tensor of shape :math:`(N, in_channels)`. + - **input** (Tensor) - Tensor of shape :math:`(N, in\_channels)`. Outputs: - Tensor of shape :math:`(N, out_channels)`. + Tensor of shape :math:`(N, out\_channels)`. Examples: >>> net = nn.Dense(3, 4)