Searched refs:sample_val (Results 1 – 1 of 1) sorted by relevance
295 double sample_val = TfLiteRound(func(min + i * step) * 32768.0); in gen_lut() local304 table[i] = std::min<double>(std::max<double>(sample_val - bias, -32768.0), in gen_lut()324 float sample_val = TfLiteRound(func(min + i * step) * 32768.0f); in gen_lut() local333 table[i] = std::min<float>(std::max<float>(sample_val - bias, -32768.0f), in gen_lut()