Home
last modified time | relevance | path

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

/external/brotli/research/
Ddraw_diff.cc61 int abs_max = -min; in DrawDiff() local
62 if (abs_max < max) abs_max = max; in DrawDiff()
64 fprintf(f, "P6\n%lu %lu\n%d\n", width, height, abs_max); in DrawDiff()
72 row[3 * j + 0] = abs_max - max_val + diff[i][j]; in DrawDiff()
73 row[3 * j + 1] = abs_max - max_val; in DrawDiff()
74 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()
76 row[3 * j + 0] = abs_max - max_val; in DrawDiff()
77 row[3 * j + 1] = abs_max - max_val - diff[i][j]; in DrawDiff()
78 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()
/external/tensorflow/tensorflow/lite/kernels/
Delementwise_test.cc171 const float abs_max = std::max(std::abs(*minmax.first), *minmax.second); in TEST() local
173 const float kOutputScale = abs_max / 255.0; in TEST()
187 {TensorType_INT8, {1, 8}, 0, abs_max, kOutputScale, output_zero_point}); in TEST()
201 const float abs_max = std::max(std::abs(*minmax.first), *minmax.second); in TEST() local
215 {TensorType_INT8, {1, 8}, 0, abs_max, kInputScale, input_zero_point}); in TEST()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_requantization_range_per_channel_op.cc94 const int32_t abs_max = in Compute() local
99 scale * static_cast<float>(abs_max) / static_cast<float>(1L << 31); in Compute()