Searched refs:clamped_shifted (Results 1 – 3 of 3) sorted by relevance
93 auto clamped_shifted = clamped - nudged_min; in operator() local95 (clamped_shifted * inv_nudged_scale + 0.5f).floor() * nudged_scale + in operator()144 const auto clamped_shifted = clamped - nudged_min; in operator() local145 outputs.device(d) = (clamped_shifted / nudged_scale_repl + 0.5f).floor() * in operator()217 const auto clamped_shifted = clamped - nudged_min; in operator() local220 (clamped_shifted / nudged_scale + 0.5f).floor() * nudged_scale + in operator()
349 const float clamped_shifted = clamped - nudged_min; in FakeQuantizeArray() local351 TfLiteRound(clamped_shifted * inv_nudged_scale) * nudged_scale + in FakeQuantizeArray()
79 xla::XlaOp clamped_shifted = xla::Sub(clamped, nudged_input_min); in Quantize() local81 xla::Floor(xla::Add(xla::Mul(clamped_shifted, inv_scale), half)); in Quantize()