Skip to content

Commit

Permalink
change seperator of function marker (open-mmlab#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningLeon authored May 20, 2022
1 parent e057b87 commit a4de9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdeploy/core/optimizers/function_marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def impl(ys, prefix, level):
if ys not in visit:
visit.add(ys)
root = ctx.names[ctx.index]
name = '/'.join(str(x) for x in (root, *prefix))
name = '.'.join(str(x) for x in (root, *prefix))
ys_shape = tuple(int(s) for s in ys.shape)
ret = Mark.apply(ys, ys.dtype, ys_shape, func, func_id,
io_type, name, index, attrs)
Expand Down

0 comments on commit a4de9f3

Please sign in to comment.