Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add LOG(ERROR) to QuantizedReshapeModeMap.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrabow committed Feb 9, 2022
1 parent 2c27399 commit 6d2b7ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/quantization/quantized_reshape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ inline const char* QuantizedReshapeModeMap(ReshapeModule module) {
case ReshapeModule::NDArray:
return "_contrib_quantized_reshape";
default:
LOG(ERROR) << "Invalid ReshapeModule was passed";
return nullptr;
}
}
Expand Down

0 comments on commit 6d2b7ee

Please sign in to comment.