Change pack in functional

This commit is contained in:
l00591931 2021-02-19 09:26:21 +08:00
parent 0042f3e894
commit 88de02bd0c
1 changed files with 6 additions and 1 deletions

View File

@ -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()