Browse Source

!88 fix examples of P.Fill()

Merge pull request !88 from 万万没想到/I1DBSX
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
2aae218f4b
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: Examples:
>>> fill = P.Fill() >>> fill = P.Fill()
>>> fill(P.DType()(x), (2, 2), 1)
>>> fill(mindspore.float32, (2, 2), 1)
""" """


@prim_attr_register @prim_attr_register


Loading…
Cancel
Save