Browse Source

fix examples of P.Fill

tags/v0.2.0-alpha
万万没想到 Gitee 5 years ago
parent
commit
b8c16f97f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/array_ops.py

+ 1
- 1
mindspore/ops/operations/array_ops.py 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


Loading…
Cancel
Save