From 9ae764c11d2320be45274c5159b4bc31877b7346 Mon Sep 17 00:00:00 2001 From: chengduozh Date: Tue, 19 Feb 2019 12:37:25 +0800 Subject: [PATCH] fix doc test=develop --- python/paddle/fluid/layers/nn.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index d72921dc0..1a7d07683 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -8744,18 +8744,17 @@ def slice(input, axes, starts, ends): return out -@templatedoc() def shape(input): """ **Shape Layer** - Return the shape of the input. + Get the shape of the input. Args: input (Variable): The input variable. Returns: - out (Variable): The shape of the input variable. + Variable: The shape of the input variable. Examples: .. code-block:: python -- GitLab