Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TFLite] Error reporting message does not include name of the operator. #41275

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tensorflow/lite/tools/optimize/quantize_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -950,12 +950,12 @@ TfLiteStatus QuantizeWeightsInputOutput(
!allow_float) {
TF_LITE_REPORT_ERROR(
error_reporter,
"Quantization to 16x8-bit not yet supported for op: %",
"Quantization to 16x8-bit not yet supported for op: '%s'.\n",
EnumNameBuiltinOperator(op_code));
return kTfLiteError;
} else if (!property.quantizable && !allow_float) {
TF_LITE_REPORT_ERROR(error_reporter,
"Quantization not yet supported for op: %",
"Quantization not yet supported for op: '%s'.\n",
EnumNameBuiltinOperator(op_code));
return kTfLiteError;
}
Expand Down