diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index f703b7c810ce597ae91cfd2a33523db8e8b20a94..76c4c146d19e3d48c19d9f821bbc025a653dfd42 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -4723,6 +4723,7 @@ def reduce_all(input, dim=None, keep_dim=False, name=None): Examples: .. code-block:: python + # x is a bool Tensor variable with following elements: # [[True, False] # [True, True]] @@ -4772,6 +4773,7 @@ def reduce_any(input, dim=None, keep_dim=False, name=None): Examples: .. code-block:: python + # x is a bool Tensor variable with following elements: # [[True, False] # [False, False]]