Home
last modified time | relevance | path

Searched refs:buildRescaleToInt32 (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_utils.h49 Value buildRescaleToInt32(PatternRewriter& rewriter, Operation* op,
Dlegalize_tfl.cc382 x = buildRescaleToInt32(rewriter, op, x, 1.0f, input_x_qtype.getZeroPoint()); in prepareMatchAndRewriteComparison()
383 y = buildRescaleToInt32(rewriter, op, y, 1.0f, input_y_qtype.getZeroPoint()); in prepareMatchAndRewriteComparison()
540 buildRescaleToInt32(rewriter, op, tfl_add_op.lhs(), lhs_rescale_scale, in matchAndRewriteAddSub()
543 buildRescaleToInt32(rewriter, op, tfl_add_op.rhs(), rhs_rescale_scale, in matchAndRewriteAddSub()
738 buildRescaleToInt32(rewriter, op, tfl_max_op.lhs(), 1.0f, 0); in matchAndRewrite()
740 buildRescaleToInt32(rewriter, op, tfl_max_op.rhs(), 1.0f, 0); in matchAndRewrite()
790 buildRescaleToInt32(rewriter, op, tfl_min_op.lhs(), 1.0f, 0); in matchAndRewrite()
792 buildRescaleToInt32(rewriter, op, tfl_min_op.rhs(), 1.0f, 0); in matchAndRewrite()
2879 buildRescaleToInt32(rewriter, op, tfl_leakyrelu_op.input(), 1.0, in matchAndRewrite()
Dlegalize_utils.cc55 Value buildRescaleToInt32(PatternRewriter& rewriter, Operation* op, in buildRescaleToInt32() function
Dlegalize_common.cc523 Value op1_rescale_lhs = buildRescaleToInt32( in convertMultiplyOp()
525 Value op2_rescale_rhs = buildRescaleToInt32( in convertMultiplyOp()
2695 val = buildRescaleToInt32(rewriter, op, val, input_scale, input_zp); in convertReduceOpCommon()