From b8c16f97f73c77dbe4d7e64045a256aedc336056 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:03:01 +0800 Subject: [PATCH] fix examples of P.Fill --- mindspore/ops/operations/array_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ops/operations/array_ops.py b/mindspore/ops/operations/array_ops.py index f6d563321c4..7b49cbf84cb 100644 --- a/mindspore/ops/operations/array_ops.py +++ b/mindspore/ops/operations/array_ops.py @@ -713,7 +713,7 @@ class Fill(PrimitiveWithInfer): Examples: >>> fill = P.Fill() - >>> fill(P.DType()(x), (2, 2), 1) + >>> fill(mindspore.float32, (2, 2), 1) """ @prim_attr_register