Home
last modified time | relevance | path

Searched refs:in_lhs_scale (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tfl.cc567 double in_lhs_scale = input_lhs_qtype.getScale(); in matchAndRewrite() local
570 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()
576 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()
664 double in_lhs_scale = input_lhs_qtype.getScale(); in matchAndRewrite() local
667 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()
673 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()
Dlegalize_common.cc478 double in_lhs_scale = input_lhs_qtype.getScale(); in convertMultiplyOp() local
482 double output_rescale_scale = in_lhs_scale * in_rhs_scale / output_scale; in convertMultiplyOp()