Home
last modified time | relevance | path

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

/external/gemmlowp/doc/
Dquantization_example.cc139 const float clamped_val = std::max(0.f, std::min(255.f, transformed_val)); in Quantize() local
140 (*dst)[i] = static_cast<std::uint8_t>(std::round(clamped_val)); in Quantize()