From a221097942fc576548e3f965f77f4ed9120c9294 Mon Sep 17 00:00:00 2001 From: jiangjinsheng Date: Wed, 27 May 2020 15:28:33 +0800 Subject: [PATCH 1/2] fixed log1p --- mindspore/ops/operations/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mindspore/ops/operations/__init__.py b/mindspore/ops/operations/__init__.py index 379fd5bca5..34650d22d5 100644 --- a/mindspore/ops/operations/__init__.py +++ b/mindspore/ops/operations/__init__.py @@ -234,6 +234,7 @@ __all__ = [ 'ReduceProd', 'CumProd', 'Log', + 'Log1p', 'SigmoidCrossEntropyWithLogits', 'FloorDiv', 'FloorMod', From f17c070fb6e7b653765d213723a82b61249b2d2f Mon Sep 17 00:00:00 2001 From: jiangjinsheng Date: Wed, 27 May 2020 15:45:42 +0800 Subject: [PATCH 2/2] fixed doc for GELU --- mindspore/nn/layer/activation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/nn/layer/activation.py b/mindspore/nn/layer/activation.py index b3ebe3af1b..3a754e4c03 100644 --- a/mindspore/nn/layer/activation.py +++ b/mindspore/nn/layer/activation.py @@ -303,7 +303,7 @@ class GELU(Cell): of standard Gaussian distribution and :math:`x_i` is the element of the input. Inputs: - - **input_data** (Tensor) - The input of Tanh. + - **input_data** (Tensor) - The input of GELU. Outputs: Tensor, with the same type and shape as the `input_data`.