From a821e22e4fe575626fa30a1da5f0c08784d473e9 Mon Sep 17 00:00:00 2001 From: VectorSL Date: Tue, 27 Oct 2020 17:07:06 +0800 Subject: [PATCH] fix comment --- mindspore/ops/operations/nn_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/ops/operations/nn_ops.py index 4bf5663c0f..58fdef21f0 100644 --- a/mindspore/ops/operations/nn_ops.py +++ b/mindspore/ops/operations/nn_ops.py @@ -1649,7 +1649,7 @@ class BiasAdd(PrimitiveWithInfer): - **input_x** (Tensor) - The input tensor. The shape can be 2-4 dimensions. - **bias** (Tensor) - The bias tensor, with shape :math:`(C)`. - **data_format** (str) - The format of input and output data. It should be 'NHWC' or 'NCHW',\ - default is 'NCHW'. + default is 'NCHW'. The shape of `bias` must be the same as `input_x` in the second dimension. Outputs: