clean codex warning

This commit is contained in:
laiyongqiang 2020-09-17 12:50:41 +08:00
parent f53047e8f5
commit e13beaa7ed
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ void BestFitMemReuse::AssignCommunicationNodeOutputOffset() {
size_t index = GetTensorIndex(tensor_idx);
auto tensor_desc = tensor_ptr_list_[index];
MS_EXCEPTION_IF_NULL(tensor_desc);
if (output_index == 0 || output_index == output_ref_indexes.size() - 1) {
if (output_index == 0) {
tensor_desc->size_ += kDefaultMemAlignSize;
}