forked from mindspore-Ecosystem/mindspore
fix examples of P.Fill
This commit is contained in:
parent
b5ebfa3ff3
commit
408a1aa19f
|
@ -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…
Reference in New Issue