forked from mindspore-Ecosystem/mindspore
Change pack in functional
This commit is contained in:
parent
0042f3e894
commit
88de02bd0c
|
@ -97,8 +97,13 @@ gather_d = P.GatherD()
|
|||
gather_nd = P.GatherNd()
|
||||
scatter_update = P.ScatterUpdate()
|
||||
scatter_nd_update = P.ScatterNdUpdate()
|
||||
pack = P.Pack()
|
||||
stack = P.Stack()
|
||||
|
||||
def pack(x):
|
||||
print("WARNING: 'pack' is deprecated from version 1.1 and will be removed in a future version, use 'stack' instead"
|
||||
".")
|
||||
return stack(x)
|
||||
|
||||
partial = P.Partial()
|
||||
# depend: mount a node to another node
|
||||
depend = P.Depend()
|
||||
|
|
Loading…
Reference in New Issue