!6577 [MSLITE]log level change

Merge pull request !6577 from wangchangkai/master
This commit is contained in:
mindspore-ci-bot 2020-09-19 18:32:13 +08:00 committed by Gitee
commit 295e55aec7
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ STATUS QuantFilter(ParamValueLitePtr weight, std::shared_ptr<PrimitiveC> primiti
auto dims = weight->tensor_shape();
if (per_channel) {
if (dims.size() != 4) {
MS_LOG(ERROR) << "weight dims size: " << dims.size() << " switch to per-layer quant mode.";
MS_LOG(INFO) << "weight dims size: " << dims.size() << " switch to per-layer quant mode.";
per_channel = false;
} else {
uint32_t channels = dims[0];