Skip to content

Commit

Permalink
Return conversion count
Browse files Browse the repository at this point in the history
  • Loading branch information
natuan committed May 30, 2023
1 parent acf3ce8 commit 4f7246e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,12 @@ def _convert_quantizable_matmul_with_quantized_outputs(model: ModelProto):

if matmul_nodes:
_LOGGER.info(
f"Converted {conversion_count} quantizable MatMul ops " "to QLinearMatMul"
f"Converted {conversion_count} quantizable MatMul with quantized outputs "
"to QLinearMatMul"
)

return conversion_count


def _convert_quantizable_matmul(model: ModelProto):
conversion_count = _convert_quantizable_matmul_with_quantized_outputs(model)
Expand Down

0 comments on commit 4f7246e

Please sign in to comment.