• Home
  • Raw
  • Download

Lines Matching refs:rows

39   inline GAvgPoolMicrokernelTester& rows(size_t rows) {  in rows()  argument
40 assert(rows != 0); in rows()
41 this->rows_ = rows; in rows()
45 inline size_t rows() const { in rows() function
157 (rows() - 1) * input_stride() + channels());
172 -int32_t(input_zero_point()) * int32_t(rows()),
173 input_scale() / (output_scale() * float(rows())),
178 -int32_t(input_zero_point()) * int32_t(rows()),
179 input_scale() / (output_scale() * float(rows())),
185 -int32_t(input_zero_point()) * int32_t(rows()),
186 input_scale() / (output_scale() * float(rows())),
192 for (size_t n = 0; n < rows(); n++) {
197 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero…
203 gavgpool_minmax(rows(), channels(),
212 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
214 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
216 << "at position " << c << ", rows = " << rows() << ", channels = " << channels()
219 << "at position " << c << ", rows = " << rows() << ", channels = " << channels()
231 (rows() - 1) * input_stride() + channels());
247 -int32_t(input_zero_point()) * int32_t(rows()),
248 input_scale() / (output_scale() * float(rows())),
253 -int32_t(input_zero_point()) * int32_t(rows()),
254 input_scale() / (output_scale() * float(rows())),
260 -int32_t(input_zero_point()) * int32_t(rows()),
261 input_scale() / (output_scale() * float(rows())),
267 for (size_t n = 0; n < rows(); n++) {
273 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero…
279 gavgpool_minmax(rows(), channels(),
289 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
291 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
293 << "at position " << c << ", rows = " << rows() << ", channels = " << channels()
296 << "at position " << c << ", rows = " << rows() << ", channels = " << channels()
309 (rows() - 1) * input_stride() + channels());
324 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
325 input_scale() / (output_scale() * float(rows())),
330 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
331 input_scale() / (output_scale() * float(rows())),
337 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
338 input_scale() / (output_scale() * float(rows())),
344 for (size_t n = 0; n < rows(); n++) {
349 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero…
355 gavgpool_minmax(rows(), channels(),
364 << "at channel " << c << " / " << channels() << ", rows = " << rows();
366 << "at channel " << c << " / " << channels() << ", rows = " << rows();
368 << "at channel " << c << " / " << channels() << ", rows = " << rows()
371 << "at channel " << c << " / " << channels() << ", rows = " << rows()
384 (rows() - 1) * input_stride() + channels());
400 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
401 input_scale() / (output_scale() * float(rows())),
406 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
407 input_scale() / (output_scale() * float(rows())),
413 -int32_t(input_zero_point() - 0x80) * int32_t(rows()),
414 input_scale() / (output_scale() * float(rows())),
420 for (size_t n = 0; n < rows(); n++) {
425 …output_fp[c] = float(acc) * (input_scale() / (output_scale() * float(rows()))) + float(output_zero…
431 gavgpool_minmax(rows(), channels(),
441 << "at channel " << c << " / " << channels() << ", rows = " << rows();
443 << "at channel " << c << " / " << channels() << ", rows = " << rows();
445 << "at channel " << c << " / " << channels() << ", rows = " << rows()
448 << "at channel " << c << " / " << channels() << ", rows = " << rows()
460 …std::vector<uint16_t> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(…
473 for (size_t n = 0; n < rows(); n++) {
476 output_ref[c] = acc / float(rows());
493 fp16_ieee_from_fp32_value(1.0f / float(rows())),
498 gavgpool_minmax(rows(), channels(),
507 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
509 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
511 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
522 …std::vector<uint16_t> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(…
534 for (size_t n = 0; n < rows(); n++) {
537 output_ref[c] = acc / float(rows());
549 fp16_ieee_from_fp32_value(1.0f / float(rows())),
559 gavgpool_minmax(rows(), channels(),
569 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
571 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
573 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
583 …std::vector<float> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(flo…
596 for (size_t n = 0; n < rows(); n++) {
599 output_ref[c] = acc / float(rows());
619 1.0f / float(rows()), output_min, output_max);
623 1.0f / float(rows()), output_min, output_max);
628 gavgpool_minmax(rows(), channels(),
637 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
639 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
641 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
651 …std::vector<float> input((rows() - 1) * input_stride() + channels() + XNN_EXTRA_BYTES / sizeof(flo…
663 for (size_t n = 0; n < rows(); n++) {
666 output_ref[c] = acc / float(rows());
681 1.0f / float(rows()), output_min, output_max);
685 1.0f / float(rows()), output_min, output_max);
695 gavgpool_minmax(rows(), channels(),
705 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
707 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();
709 << "at position " << c << ", rows = " << rows() << ", channels = " << channels();