forked from mindspore-Ecosystem/mindspore
!13025 modify the data format of split_dims
From: @alouhahahahaha Reviewed-by: @jjfeing Signed-off-by: @jjfeing
This commit is contained in:
commit
c5ac954fde
|
@ -42,7 +42,7 @@ std::vector<AnfNodePtr> SplitInputsForReduceScatter::InsertSplitForInput(const F
|
|||
}
|
||||
AnfAlgo::SetOutputInferTypeAndShape(dtypes, shapes, split.get());
|
||||
|
||||
AnfAlgo::SetNodeAttr("split_dim", MakeValue(0), split);
|
||||
AnfAlgo::SetNodeAttr("split_dim", MakeValue(0L), split);
|
||||
AnfAlgo::SetNodeAttr("num_split", MakeValue(SizeToInt(rank_size)), split);
|
||||
AnfAlgo::SetNodeAttr("size_splits", MakeValue(size_splits), split);
|
||||
kernel_select_->SelectKernel(split);
|
||||
|
|
Loading…
Reference in New Issue