• Home
  • Raw
  • Download

Lines Matching refs:indirection

99     std::vector<const float*> indirection(pixels() * 4);  in Test()
100 std::vector<float> input(XNN_EXTRA_BYTES / sizeof(float) + indirection.size() * channels()); in Test()
110 for (size_t i = 0; i < indirection.size(); i++) { in Test()
111 indirection[i] = input.data() + i * channels() - input_offset(); in Test()
113 std::shuffle(indirection.begin(), indirection.end(), rng); in Test()
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()
131 indirection.data(), input_offset() * sizeof(float), in Test()
153 std::vector<const float*> indirection(pixels() * 2); in TestCHW()
166 for (size_t i = 0; i < indirection.size(); i++) { in TestCHW()
168 indirection[i] = left_corner; in TestCHW()
170 std::shuffle(indirection.begin(), indirection.end(), rng); in TestCHW()
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()
190 indirection.data(), input_offset() * sizeof(float), in TestCHW()