Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tfl.cc568 double in_rhs_scale = input_rhs_qtype.getScale(); in matchAndRewrite() local
570 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()
578 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()
665 double in_rhs_scale = input_rhs_qtype.getScale(); in matchAndRewrite() local
667 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()
675 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()
Dlegalize_common.cc479 double in_rhs_scale = input_rhs_qtype.getScale(); in convertMultiplyOp() local
482 double output_rescale_scale = in_lhs_scale * in_rhs_scale / output_scale; in convertMultiplyOp()