forked from mindspore-Ecosystem/mindspore
commit
2aae218f4b
|
@ -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…
Reference in New Issue