• Home
  • Raw
  • Download

Lines Matching full:rows

33   inline GAvgPoolMicrokernelTester& rows(size_t rows) {  in rows()  function
34 assert(rows != 0); in rows()
35 this->rows_ = rows; in rows()
39 inline size_t rows() const { in rows() function
156 (rows() - 1) * input_stride() + channels()); in Test()
170 -int32_t(input_zero_point()) * int32_t(rows()), in Test()
171 input_scale() / (output_scale() * float(rows())), in Test()
177 for (size_t n = 0; n < rows(); n++) { in Test()
182 … acc, input_scale() / (output_scale() * float(rows())), output_zero_point(), qmin(), qmax()); in Test()
183 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero… in Test()
189 gavgpool_minmax(rows(), channels(), in Test()
198 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
200 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
202 << "at position " << c << ", rows = " << rows() << ", channels = " << channels() in Test()
205 << "at position " << c << ", rows = " << rows() << ", channels = " << channels() in Test()
222 (rows() - 1) * input_stride() + channels()); in Test()
237 -int32_t(input_zero_point()) * int32_t(rows()), in Test()
238 input_scale() / (output_scale() * float(rows())), in Test()
244 for (size_t n = 0; n < rows(); n++) { in Test()
250 … acc, input_scale() / (output_scale() * float(rows())), output_zero_point(), qmin(), qmax()); in Test()
251 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero… in Test()
257 gavgpool_minmax(rows(), channels(), in Test()
267 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
269 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
271 << "at position " << c << ", rows = " << rows() << ", channels = " << channels() in Test()
274 << "at position " << c << ", rows = " << rows() << ", channels = " << channels() in Test()
291 (rows() - 1) * input_stride() + channels()); in Test()
305 -int32_t(input_zero_point() - 0x80) * int32_t(rows()), in Test()
306 input_scale() / (output_scale() * float(rows())), in Test()
312 for (size_t n = 0; n < rows(); n++) { in Test()
317 …acc, input_scale() / (output_scale() * float(rows())), int8_t(output_zero_point() - 0x80), int8_t(… in Test()
318 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero… in Test()
324 gavgpool_minmax(rows(), channels(), in Test()
333 << "at channel " << c << " / " << channels() << ", rows = " << rows(); in Test()
335 << "at channel " << c << " / " << channels() << ", rows = " << rows(); in Test()
337 << "at channel " << c << " / " << channels() << ", rows = " << rows() in Test()
340 << "at channel " << c << " / " << channels() << ", rows = " << rows() in Test()
357 (rows() - 1) * input_stride() + channels()); in Test()
372 -int32_t(input_zero_point() - 0x80) * int32_t(rows()), in Test()
373 input_scale() / (output_scale() * float(rows())), in Test()
379 for (size_t n = 0; n < rows(); n++) { in Test()
384 …acc, input_scale() / (output_scale() * float(rows())), int8_t(output_zero_point() - 0x80), int8_t(… in Test()
385 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero… in Test()
391 gavgpool_minmax(rows(), channels(), in Test()
401 << "at channel " << c << " / " << channels() << ", rows = " << rows(); in Test()
403 << "at channel " << c << " / " << channels() << ", rows = " << rows(); in Test()
405 << "at channel " << c << " / " << channels() << ", rows = " << rows() in Test()
408 << "at channel " << c << " / " << channels() << ", rows = " << rows() in Test()
419 …std::vector<uint16_t> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(… in Test()
432 for (size_t n = 0; n < rows(); n++) { in Test()
435 output_ref[c] = acc / float(rows()); in Test()
453 fp16_ieee_from_fp32_value(1.0f / float(rows())), in Test()
458 gavgpool_minmax(rows(), channels(), in Test()
467 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
469 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
471 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
481 …std::vector<uint16_t> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(… in Test()
493 for (size_t n = 0; n < rows(); n++) { in Test()
496 output_ref[c] = acc / float(rows()); in Test()
509 fp16_ieee_from_fp32_value(1.0f / float(rows())), in Test()
519 gavgpool_minmax(rows(), channels(), in Test()
529 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
531 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
533 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
543 …std::vector<float> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(flo… in Test()
556 for (size_t n = 0; n < rows(); n++) { in Test()
559 output_ref[c] = acc / float(rows()); in Test()
576 init_params(&params, 1.0f / float(rows()), output_min, output_max); in Test()
579 gavgpool_minmax(rows(), channels(), in Test()
588 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
590 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
592 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
602 …std::vector<float> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(flo… in Test()
614 for (size_t n = 0; n < rows(); n++) { in Test()
617 output_ref[c] = acc / float(rows()); in Test()
629 init_params(&params, 1.0f / float(rows()), output_min, output_max); in Test()
637 gavgpool_minmax(rows(), channels(), in Test()
647 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
649 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()
651 << "at position " << c << ", rows = " << rows() << ", channels = " << channels(); in Test()