/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | convert_tfl_uint8.cc | 92 output_element_type.getZeroPoint()) * in matchAndRewrite() 96 output_element_type.getZeroPoint()) * in matchAndRewrite() 166 uint8_element_type.getZeroPoint()) * in convert_graph_uint8_tensor() 170 uint8_element_type.getZeroPoint()) * in convert_graph_uint8_tensor() 185 int32_t uint8_zp = uint8_element_type.getZeroPoint(); in convert_graph_uint8_tensor() 235 output_element_type.getZeroPoint()) * in convert_graph_uint8_tensor() 239 output_element_type.getZeroPoint()) * in convert_graph_uint8_tensor() 300 int32_t int8_zp = int8_output_element_type.getZeroPoint(); in convert_graph_uint8_tensor() 301 int32_t uint8_zp = uint8_output_element_type.getZeroPoint(); in convert_graph_uint8_tensor()
|
D | legalize_tfl.cc | 177 rewriter, op, tfl_relu_op.x(), 1.0f, input_qtype.getZeroPoint()); in matchAndRewrite() 184 output_qtype.getZeroPoint()); in matchAndRewrite() 233 input_qtype.getZeroPoint(); in matchAndRewrite() 236 rewriter, op, tfl_relu6_op.x(), 1.0f, input_qtype.getZeroPoint()); in matchAndRewrite() 242 output_qtype.getZeroPoint()); in matchAndRewrite() 295 input_x_qtype.getZeroPoint() != input_y_qtype.getZeroPoint()) { in matchAndRewrite() 302 rewriter, op, tfl_equal_op.x(), 1.0f, input_x_qtype.getZeroPoint()); in matchAndRewrite() 304 rewriter, op, tfl_equal_op.y(), 1.0f, input_y_qtype.getZeroPoint()); in matchAndRewrite() 357 input_lhs_qtype.getZeroPoint() != input_rhs_qtype.getZeroPoint()) { in matchAndRewrite() 365 input_lhs_qtype.getZeroPoint()); in matchAndRewrite() [all …]
|
D | legalize_common.cc | 485 rewriter, op, input_lhs_val, 1.0f, input_lhs_qtype.getZeroPoint()); in convertMultiplyOp() 487 rewriter, op, input_rhs_val, 1.0f, input_rhs_qtype.getZeroPoint()); in convertMultiplyOp() 492 output_rescale_scale, output_qtype.getZeroPoint()); in convertMultiplyOp() 658 lhs_zeropoint = lhs_quant_type.getZeroPoint(); in convertConcatV2Op() 660 rhs_zeropoint = rhs_quant_type.getZeroPoint(); in convertConcatV2Op() 662 result_zeropoint = result_quant_type.getZeroPoint(); in convertConcatV2Op() 708 rhs_zeropoint = rhs_quant_type.getZeroPoint(); in convertConcatV2Op() 1453 in_quant_type.getZeroPoint(), 0); in convertSoftmaxOp() 1570 out_quant_type.getZeroPoint()); in convertSoftmaxOp() 2227 rewriter, op, input_value, 1.0f, input_qtype.getZeroPoint()); in convertFusedActivation() [all …]
|
D | legalize_utils.cc | 90 int64_t output_zp = output_qtype.getZeroPoint(); in buildRescaleOpConvOutput() 130 int64_t output_zp = output_qtype.getZeroPoint(); in buildRescaleOpConvOutput()
|
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/ |
D | QuantUtils.cpp | 127 int64_t inputZp = inputQType.getZeroPoint(); in buildConvOpQuantizationAttr() 131 weightZp = weightPerTensorQType.getZeroPoint(); in buildConvOpQuantizationAttr() 169 int64_t aZp = aQType.getZeroPoint(); in buildMatMulOpQuantizationAttr() 170 int64_t bZp = bQType.getZeroPoint(); in buildMatMulOpQuantizationAttr() 205 int64_t inputZp = inputQType.getZeroPoint(); in buildUnaryOpQuantizationAttr() 206 int64_t outputZp = outputQType.getZeroPoint(); in buildUnaryOpQuantizationAttr() 232 int64_t inputZp = inputQType.getZeroPoint(); in buildPadOpQuantizationAttr()
|
/external/llvm-project/mlir/test/lib/Dialect/Tosa/ |
D | TosaTestPasses.cpp | 68 outputElementType.getZeroPoint()) * in matchAndRewrite() 71 outputElementType.getZeroPoint()) * in matchAndRewrite() 157 int64_t outputZp = outputQType.getZeroPoint(); in matchAndRewrite()
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | QuantTypes.h | 287 int64_t getZeroPoint() const; 294 bool isFixedPoint() const { return isSigned() && getZeroPoint() == 0; } in isFixedPoint()
|
D | UniformSupport.h | 64 static_cast<double>(uniformType.getZeroPoint()), in UniformQuantizedValueConverter()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | device_target.cc | 137 o_spec.getScale(), o_spec.getZeroPoint(), in DecomposeMultiplyAccumulateScale() 172 o_spec.getScale(), o_spec.getZeroPoint(), in DecomposeSameScale()
|
D | quantization_utils.h | 407 uqtype.getScale(), uqtype.getZeroPoint() - offset, in matchAndRewrite()
|
D | quantization_utils.cc | 573 scales[0], q_type.getZeroPoint(), q_type.getStorageTypeMin(), in DownCastScale()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TensorTest.java | 516 long zeroPoint = quantizationParams.getZeroPoint(); in testQuantizationParameters_floatModel() 529 long zeroPoint = quantizationParams.getZeroPoint(); in testQuantizationParameters_quantizedModel()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | TypeParser.cpp | 389 printQuantParams(type.getScale(), type.getZeroPoint(), out); in printUniformQuantizedType()
|
D | QuantTypes.cpp | 286 int64_t UniformQuantizedType::getZeroPoint() const { in getZeroPoint() function in UniformQuantizedType
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Tensor.java | 84 public int getZeroPoint() { in getZeroPoint() method in Tensor.QuantizationParams
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 507 qtype.getScale() * scale, qtype.getZeroPoint(), in GetUniformQuantizedTypeForBiasWithScale()
|
/external/llvm-project/clang/test/SemaObjC/ |
D | attr-swift_name.m | 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); function
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 722 builder_.CreateVector<int64_t>({qtype.getZeroPoint()})); in BuildTensorFromType() 809 builder_.CreateVector<int64_t>({qtype.getZeroPoint()})); in BuildTensor()
|
D | flatbuffer_import.cc | 893 per_tensor.getZeroPoint(), per_tensor.getStorageTypeMin() - 1, in PostProcessFuncOp()
|