From 849b84abb157c8bc66387312cf8823898338e1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=87=E4=B8=87=E6=B2=A1=E6=83=B3=E5=88=B0?= Date: Wed, 1 Apr 2020 11:14:21 +0800 Subject: [PATCH] fix typo in formula --- mindspore/nn/layer/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/nn/layer/basic.py b/mindspore/nn/layer/basic.py index e5ed147b85..0cf4cd5e99 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)