diff --git a/mindspore/lite/src/runtime/lite_session.cc b/mindspore/lite/src/runtime/lite_session.cc index 03d1e12a473..14dbb4f33f8 100644 --- a/mindspore/lite/src/runtime/lite_session.cc +++ b/mindspore/lite/src/runtime/lite_session.cc @@ -1078,7 +1078,7 @@ int LiteSession::ReSizeKernels(const std::vector &kernels, } } if (ret == RET_INFER_INVALID) { - MS_LOG(INFO) << "InferShape is interrupted"; + MS_LOG(DEBUG) << "InferShape is interrupted"; continue; } if (ret != RET_OK) { diff --git a/mindspore/lite/src/runtime/sub_graph_kernel.cc b/mindspore/lite/src/runtime/sub_graph_kernel.cc index cc0d08d1fee..bf159580872 100644 --- a/mindspore/lite/src/runtime/sub_graph_kernel.cc +++ b/mindspore/lite/src/runtime/sub_graph_kernel.cc @@ -114,9 +114,9 @@ int SubGraphKernel::ReSize() { ret = lite::KernelInferShape(inputs, outputs, parameter, context_->allocator); } if (ret == RET_INFER_INVALID) { - MS_LOG(INFO) << "InferShape shouldn't be done before runtime, type:" - << schema::EnumNamePrimitiveType(static_cast(kernel->type())) - << "flag set to false."; + MS_LOG(DEBUG) << "InferShape shouldn't be done before runtime, type:" + << schema::EnumNamePrimitiveType(static_cast(kernel->type())) + << "flag set to false."; } else if (ret != RET_OK) { MS_LOG(ERROR) << "InferShape failed, type: " << schema::EnumNamePrimitiveType(static_cast(kernel->type())); diff --git a/mindspore/lite/src/tensor.cc b/mindspore/lite/src/tensor.cc index 525a4bb7e70..bfd4f4cb643 100644 --- a/mindspore/lite/src/tensor.cc +++ b/mindspore/lite/src/tensor.cc @@ -253,7 +253,7 @@ size_t Tensor::Size() const { } auto element_num = (format_ == mindspore::NC4HW4 || format_ == mindspore::NHWC4) ? ElementsC4Num() : ElementsNum(); if (element_num <= 0) { - MS_LOG(INFO) << "Element number of tensor should large than 0 : " << element_num << ", shape: " << shape_; + MS_LOG(DEBUG) << "Element number of tensor should large than 0 : " << element_num << ", shape: " << shape_; return 0; } return element_size * static_cast(element_num);