Searched refs:zeropoint (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/ |
D | build_defs.bzl | 64 zeropoint = "", 75 zeropoint: the input (de)quantization zeropoint parameter for float models 87 zeropoint_arg = "--zero_point=" + zeropoint
|
/external/pytorch/test/fx/ |
D | quantization.py | 78 scale, zeropoint = self.scale_zeropoint() 83 {"scale": scale, "zero_point": zeropoint}, 209 scale, zeropoint = self.scale_zeropoint() 211 Proxy(input), scale, zeropoint, torch.quint8
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_common.h | 230 int64_t zeropoint); 237 ArrayRef<float> zeropoint,
|
D | legalize_common.cc | 3158 int64_t zeropoint) { in convertQuantizeOp() argument 3175 getTosaConstTensorSingleF32(rewriter, op, static_cast<float>(zeropoint)); in convertQuantizeOp() 3195 ArrayRef<float> zeropoint, in convertDequantizeOp() argument 3206 if (zeropoint.size() == 1) { in convertDequantizeOp() 3208 static_cast<float>(zeropoint[0])); in convertDequantizeOp() 3212 shape[dim] = zeropoint.size(); in convertDequantizeOp() 3213 zp_val = getConstTensor(rewriter, op, zeropoint, shape); in convertDequantizeOp()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/metrics/ |
D | BUILD | 105 zeropoint = "128",
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/ |
D | legalization.md | 419 int64 zeropoint = (int64)std::round((-min) / scale + float64(qmin)) 421 %quantized = lower_quantize_op(%inputs.type, %inputs, 1.0 / scale, zeropoint) 423 %dequantized = lower_dequantize_op(output_type, %quantized_op, scale, zeropoint) 458 Value lower_quantize_op(Type output_type, Value %input, float64 scale, int64 zeropoint) 461 %const_zp = tosa.CONST() {value={zeropoint}} 471 Value lower_dequantize_op(Value %input, float64 scale, int64 zeropoint) 474 %const_zp = tosa.CONST() {value={(float64)zeropoint}}
|