Home
last modified time | relevance | path

Searched refs:input_qtype (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc2215 auto input_qtype = in convertFusedActivation() local
2227 rewriter, op, input_value, 1.0f, input_qtype.getZeroPoint()); in convertFusedActivation()
2241 int64_t rescaled_6 = std::llround(6.0f / input_qtype.getScale()) + in convertFusedActivation()
2242 input_qtype.getZeroPoint(); in convertFusedActivation()
2252 int64_t rescaled_n1 = std::llround(-1.0f / input_qtype.getScale()) + in convertFusedActivation()
2253 input_qtype.getZeroPoint(); in convertFusedActivation()
2254 int64_t rescaled_1 = std::llround(1.0f / input_qtype.getScale()) + in convertFusedActivation()
2255 input_qtype.getZeroPoint(); in convertFusedActivation()
2269 input_qtype.getZeroPoint()); in convertFusedActivation()
2474 auto input_qtype = in convertReduceSumOp() local
[all …]
Dlegalize_tfl.cc169 UniformQuantizedType input_qtype = in matchAndRewrite() local
177 rewriter, op, tfl_relu_op.x(), 1.0f, input_qtype.getZeroPoint()); in matchAndRewrite()
226 UniformQuantizedType input_qtype = in matchAndRewrite() local
232 int64_t rescaled_6 = std::llround(6.0f / input_qtype.getScale()) + in matchAndRewrite()
233 input_qtype.getZeroPoint(); in matchAndRewrite()
236 rewriter, op, tfl_relu6_op.x(), 1.0f, input_qtype.getZeroPoint()); in matchAndRewrite()
2584 mlir::quant::UniformQuantizedType input_qtype = in matchAndRewrite() local
2604 (input_qtype.getScale() * 128.0) / input_sample_grain, in matchAndRewrite()
2605 input_qtype.getZeroPoint(), 0); in matchAndRewrite()
2655 mlir::quant::UniformQuantizedType input_qtype = in matchAndRewrite() local
[all …]
Dlegalize_utils.cc83 auto input_qtype = in buildRescaleOpConvOutput() local
88 double input_scale = input_qtype.getScale(); in buildRescaleOpConvOutput()