From 9772e08a9c8e1d0baa388296a9620988bbace8c7 Mon Sep 17 00:00:00 2001 From: gaojing Date: Thu, 7 May 2020 22:46:39 -0400 Subject: [PATCH] fix some python code format' --- mindspore/ops/operations/nn_ops.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/ops/operations/nn_ops.py index 7ba341fd5..a2b6457fb 100644 --- a/mindspore/ops/operations/nn_ops.py +++ b/mindspore/ops/operations/nn_ops.py @@ -2288,10 +2288,10 @@ class MirrorPad(PrimitiveWithInfer): Inputs: - **input_x** (Tensor) - The input tensor. - **paddings** (Tensor) - The paddings tensor. The value of `paddings` is a matrix(list), - and its shape is (N, 2). N is the rank of input data. All elements of paddings - are int type. For `D` th dimension of input, paddings[D, 0] indicates how many sizes to be - extended ahead of the `D` th dimension of the input tensor, and paddings[D, 1] indicates - how many sizes to be extended behind of the `D` th dimension of the input tensor. + and its shape is (N, 2). N is the rank of input data. All elements of paddings + are int type. For `D` th dimension of input, paddings[D, 0] indicates how many sizes to be + extended ahead of the `D` th dimension of the input tensor, and paddings[D, 1] indicates + how many sizes to be extended behind of the `D` th dimension of the input tensor. Outputs: Tensor, the tensor after padding. -- GitLab