From f1f2a2538956c48ed7c16d20b4e3efa1aaf861e4 Mon Sep 17 00:00:00 2001 From: hua-zi <83271073+hua-zi@users.noreply.github.com> Date: Mon, 6 Mar 2023 15:40:37 +0800 Subject: [PATCH] [fix Typo] Fix the quotation mark format problem (#50882) Fix the quotation mark format problem in PixelShuffle document --- python/paddle/nn/functional/vision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/nn/functional/vision.py b/python/paddle/nn/functional/vision.py index bbe4161a27a..1acf1bcbc5f 100644 --- a/python/paddle/nn/functional/vision.py +++ b/python/paddle/nn/functional/vision.py @@ -353,7 +353,7 @@ def pixel_shuffle(x, upscale_factor, data_format="NCHW", name=None): Parameters: x(Tensor): 4-D tensor, the data type should be float32 or float64. upscale_factor(int): factor to increase spatial resolution. - data_format (str, optional): The data format of the input and output data. An optional string from: ``'NCHW'``, ``'NHWC'``. When it is ``'NCHW'``, the data is stored in the order of: [batch_size, input_channels, input_height, input_width]. Default: ``'NCHW'``. + data_format (str, optional): The data format of the input and output data. An optional string from: ``"NCHW"``, ``"NHWC"``. When it is ``"NCHW"``, the data is stored in the order of: [batch_size, input_channels, input_height, input_width]. Default: ``"NCHW"``. name (str, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`. Returns: -- GitLab