fix examples of P.Fill

This commit is contained in:
万万没想到 2020-04-01 22:03:01 +08:00 committed by Gitee
parent 0830ad932b
commit b8c16f97f7
1 changed files with 1 additions and 1 deletions

View File

@ -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