Browse Source

!12424 fix matmul quantization bug

From: @xutianchun
Reviewed-by: @zhanghaibo5,@hangangqiang
Signed-off-by: @zhanghaibo5
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 5 years ago
parent
commit
28cbab85ed
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/lite/tools/converter/quantizer/weight_quantizer.cc

+ 2
- 2
mindspore/lite/tools/converter/quantizer/weight_quantizer.cc View File

@@ -159,8 +159,8 @@ STATUS WeightQuantizer::DoMulQuantize(CNodePtr cnode) {
}

if (param_value == nullptr) {
MS_LOG(ERROR) << "No valid input param node !";
return RET_ERROR;
MS_LOG(WARNING) << cnode->fullname_with_scope() << " No valid input param node !";
return RET_OK;
}

auto primitive_c = GetValueNode<std::shared_ptr<PrimitiveC>>(cnode->input(0));


Loading…
Cancel
Save