diff --git a/mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc b/mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc index fd4c81c2e7..3f5dadb3fa 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc +++ b/mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc @@ -283,7 +283,7 @@ Status ShuffleOp::InitShuffleBuffer() { shuffle_buffer_state_ = kShuffleStateDrain; } - MS_LOG(DEBUG) << "Shuffle operator finished intializing the shuffle buffer."; + MS_LOG(DEBUG) << "Shuffle operator finished initializing the shuffle buffer."; return Status::OK(); } diff --git a/mindspore/ccsrc/minddata/dataset/include/tensor.h b/mindspore/ccsrc/minddata/dataset/include/tensor.h index 6d43f18d31..e149f87202 100644 --- a/mindspore/ccsrc/minddata/dataset/include/tensor.h +++ b/mindspore/ccsrc/minddata/dataset/include/tensor.h @@ -751,7 +751,6 @@ inline Status Tensor::CreateFromVector(const std::vectordata_end_ = (*out)->data_ + offset_arr[i];