Browse Source

fix matmul quantization bug

tags/v1.2.0-rc1
xutianchun 4 years ago
parent
commit
4dabe2c80b
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