Skip to content

Commit

Permalink
Fix the logging format string for the negative zero point in XNNCompi…
Browse files Browse the repository at this point in the history
…ler.cpp

Differential Revision: D68133710

Pull Request resolved: #7513
  • Loading branch information
AkiSakurai authored Jan 14, 2025
1 parent b412ddc commit 09279e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/xnnpack/runtime/XNNCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Error defineTensor(
auto qparams = qtensor_value->quant_params_as_PerTensorQuant();
ET_LOG(
Debug,
"define quant tensor (per tensor): buffer_ptr: %p, scale: %f, zp: %u\n",
"define quant tensor (per tensor): buffer_ptr: %p, scale: %f, zp: %d\n",
buffer_ptr,
qparams->scale(),
qparams->zero_point());
Expand Down

0 comments on commit 09279e6

Please sign in to comment.