Skip to content

Commit e0d56cd

Browse files
AkiSakuraiYIWENX14
authored andcommitted
Fix the logging format string for the negative zero point in XNNCompiler.cpp
Differential Revision: D68133710 Pull Request resolved: #7513
1 parent f5e245b commit e0d56cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/xnnpack/runtime/XNNCompiler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Error defineTensor(
342342
auto qparams = qtensor_value->quant_params_as_PerTensorQuant();
343343
ET_LOG(
344344
Debug,
345-
"define quant tensor (per tensor): buffer_ptr: %p, scale: %f, zp: %u\n",
345+
"define quant tensor (per tensor): buffer_ptr: %p, scale: %f, zp: %d\n",
346346
buffer_ptr,
347347
qparams->scale(),
348348
qparams->zero_point());

0 commit comments

Comments
 (0)