未验证 提交 c1b5e7c2 编写于 作者: X xu98bin 提交者: GitHub

repair dist_scale (#50674)

上级 2f4763ee
......@@ -74,6 +74,8 @@ class DistributedScaleImpl(DistributedOperatorImpl):
[x_dims_mapping, out_dims_mapping], [i, i]
)
if dim_changed:
op_dist_attr.set_input_dims_mapping(x_name, x_dims_mapping)
op_dist_attr.set_output_dims_mapping(out_name, out_dims_mapping)
changed = True
if changed:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册