From 4feba6332de942a8e4f86b77a265cc58a773cec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=87=E4=B8=87=E6=B2=A1=E6=83=B3=E5=88=B0?= Date: Wed, 1 Apr 2020 22:16:29 +0800 Subject: [PATCH] fix the examples of P.ReLU6 --- mindspore/ops/operations/nn_ops.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mindspore/ops/operations/nn_ops.py b/mindspore/ops/operations/nn_ops.py index afa4c7dfe38..ed20286bd8d 100644 --- a/mindspore/ops/operations/nn_ops.py +++ b/mindspore/ops/operations/nn_ops.py @@ -190,7 +190,6 @@ class ReLU6(PrimitiveWithInfer): >>> input_x = Tensor(np.array([[-1.0, 4.0, -8.0], [2.0, -5.0, 9.0]], np.float32)) >>> relu6 = ReLU6() >>> result = relu6(input_x) - >>> assert result.asnumpy() == Tensor(np.array([[0, 4.0, 0.0], [2.0, 0.0, 6.0]], np.float32)).asnumpy() """ @prim_attr_register