forked from mindspore-Ecosystem/mindspore
!6577 [MSLITE]log level change
Merge pull request !6577 from wangchangkai/master
This commit is contained in:
commit
295e55aec7
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue