[autoparallel]add essential CommActions for broadcast oprands (#1793)

This commit is contained in:
YuliangLiu0306
2022-11-04 18:36:42 +08:00
committed by GitHub
parent 05ce3d369f
commit e34e850a4c
9 changed files with 102 additions and 24 deletions

View File

@@ -105,7 +105,7 @@ def test_conv_module():
assert weight_node._meta_data.shape == (6, 3, 2, 2)
assert bias_node._meta_data.shape == (6,)
assert conv_node._meta_data.shape == (4, 6, 63, 63)
assert view_node._meta_data.shape == (1, 6, 1, 1)
assert view_node._meta_data.shape == (6, 1, 1)
assert add_node._meta_data.shape == (4, 6, 63, 63)