diff --git a/tensorflow/contrib/quantization/kernels/quantized_matmul_op.cc b/tensorflow/contrib/quantization/kernels/quantized_matmul_op.cc index 9ad6e5d91f3..856ee8c2f4e 100644 --- a/tensorflow/contrib/quantization/kernels/quantized_matmul_op.cc +++ b/tensorflow/contrib/quantization/kernels/quantized_matmul_op.cc @@ -125,7 +125,7 @@ class QuantizedMatMulOp : public OpKernel { // The gemmlowp optimized library only works for a particular set of data // types, so check if we meet those requirements and // fall back to a slower reference implementation if not. - if (false && std::is_same() && std::is_same() && + if (std::is_same() && std::is_same() && std::is_same() && (offset_c == 0) && (mult_c == 1) && (shift_c == 0) && (transpose_c == false)) { if (transpose_a_) {