We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c395e9 commit cafbe89Copy full SHA for cafbe89
kernels/quantized/cpu/op_dequantize.cpp
@@ -384,6 +384,7 @@ Tensor& dequantize_per_channel_out(
384
if (opt_zero_points.has_value()) {
385
auto zero_point = opt_zero_points.value();
386
ET_CHECK_MSG(
387
+ zero_point.scalar_type() == ScalarType::Int ||
388
zero_point.scalar_type() == ScalarType::Long,
389
"zero_point.scalar_type() %" PRId8 " is not integer type",
390
static_cast<int8_t>(zero_point.scalar_type()));
0 commit comments