Home
last modified time | relevance | path

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

/external/XNNPACK/test/
Dibilinear-microkernel-tester.h118 const float alpha_h = packed_weights[i * 2 + 0]; in Test() local
121 indirection[i * 4 + 0][c + input_offset()] * (1.0f - alpha_h) * (1.0f - alpha_v) + in Test()
122 indirection[i * 4 + 1][c + input_offset()] * alpha_h * (1.0f - alpha_v) + in Test()
123 indirection[i * 4 + 2][c + input_offset()] * (1.0f - alpha_h) * alpha_v + in Test()
124 indirection[i * 4 + 3][c + input_offset()] * alpha_h * alpha_v; in Test()
175 const float alpha_h = packed_weights[i * 2 + 0]; in TestCHW() local
180 …(indirection[i * 2 + 0] + 0)[c * input_stride() + input_offset()] * (1.0f - alpha_h) * (1.0f - alp… in TestCHW()
181 … (indirection[i * 2 + 0] + 1)[c * input_stride() + input_offset()] * alpha_h * (1.0f - alpha_v) + in TestCHW()
182 … (indirection[i * 2 + 1] + 0)[c * input_stride() + input_offset()] * (1.0f - alpha_h) * alpha_v + in TestCHW()
183 (indirection[i * 2 + 1] + 1)[c * input_stride() + input_offset()] * alpha_h * alpha_v; in TestCHW()
/external/XNNPACK/src/f32-ibilinear-chw/
Dwasmsimd.c.in162 // result = (1 - alpha_h) * (1 - alpha_v) * top_left +
163 // alpha_h * (1 - alpha_v) * top_right +
164 // (1 - alpha_h) * alpha_v * bottom_left +
165 // alpha_h * alpha_v * bottom_right.
168 // result = left + alpha_h * (right - left),
Dneon.c.in167 // result = (1 - alpha_h) * (1 - alpha_v) * top_left +
168 // alpha_h * (1 - alpha_v) * top_right +
169 // (1 - alpha_h) * alpha_v * bottom_left +
170 // alpha_h * alpha_v * bottom_right.
173 // result = left + alpha_h * (right - left),