!8597 remove semi-lifelong for communication op's input's memory

From: @laiyongqiang
Reviewed-by: @kisnwang
Signed-off-by:
pull/8597/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 05f858e3d6

@ -494,7 +494,6 @@ void Somas::GenContiguousList(const session::KernelGraph *graph) {
outputs.push_back(output_before_gap->GetId());
for (const auto &output_tensor : node->output_tensors_) {
output_tensor->lifelong_value_ = kLifeLongGraphStart;
comm_output_total_size_ += output_tensor->aligned_size_;
output_tensor->contiguous_ = true;
outputs.push_back(output_tensor->GetId());

Loading…
Cancel
Save