• Home
  • Raw
  • Download

Lines Matching full:groups

174   inline ConvolutionOperatorTester& groups(uint32_t groups) {  in groups()  function
175 assert(groups >= 1); in groups()
176 this->groups_ = groups; in groups()
180 inline uint32_t groups() const { in groups() function
327 return group_input_channels() * groups(); in input_channel_stride()
329 assert(this->input_channel_stride_ >= group_input_channels() * groups()); in input_channel_stride()
342 return group_output_channels() * groups(); in output_channel_stride()
344 assert(this->output_channel_stride_ >= group_output_channels() * groups()); in output_channel_stride()
537 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestNHWCxQC8()
538 …std::vector<int8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() *… in TestNHWCxQC8()
539 std::vector<int32_t> bias(groups() * group_output_channels()); in TestNHWCxQC8()
540 …() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestNHWCxQC8()
541 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQC8()
542 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestNHWCxQC8()
543 std::vector<float> requantization_scales(groups() * group_output_channels()); in TestNHWCxQC8()
559 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQC8()
561 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQC8()
583 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQC8()
585 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQC8()
587 … int32_t(kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels() + oc]); in TestNHWCxQC8()
607 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQC8()
610 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQC8()
626 for (size_t c = 0; c < groups() * group_output_channels(); c++) { in TestNHWCxQC8()
630 …accumulated_min = std::min(accumulated_min, accumulators[px * groups() * group_output_channels() +… in TestNHWCxQC8()
631 …accumulated_max = std::max(accumulated_max, accumulators[px * groups() * group_output_channels() +… in TestNHWCxQC8()
649 for (size_t c = 0; c < groups() * group_output_channels(); c++) { in TestNHWCxQC8()
651 … output_ref[px * groups() * group_output_channels() + c] = double(int32_t(output_zero_point)) + in TestNHWCxQC8()
652 …double(accumulators[px * groups() * group_output_channels() + c]) * double(requantization_scales[c… in TestNHWCxQC8()
670 groups(), group_input_channels(), group_output_channels(), in TestNHWCxQC8()
700 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQC8()
707 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestNHWCxQC8()
733 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestNHWCxQS8()
734 …std::vector<int8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() *… in TestNHWCxQS8()
735 std::vector<int32_t> bias(groups() * group_output_channels()); in TestNHWCxQS8()
736 …() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestNHWCxQS8()
737 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQS8()
738 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestNHWCxQS8()
753 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQS8()
755 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
777 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQS8()
779 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
781 … int32_t(kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels() + oc]); in TestNHWCxQS8()
801 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQS8()
804 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQS8()
844 groups(), group_input_channels(), group_output_channels(), in TestNHWCxQS8()
874 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQS8()
881 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestNHWCxQS8()
903 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestNHWCxQU8()
904 …std::vector<uint8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() … in TestNHWCxQU8()
905 std::vector<int32_t> bias(groups() * group_output_channels()); in TestNHWCxQU8()
906 …() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestNHWCxQU8()
907 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestNHWCxQU8()
908 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestNHWCxQU8()
924 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQU8()
926 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQU8()
948 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQU8()
950 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQU8()
952 …(int32_t(kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels() + oc]) - int… in TestNHWCxQU8()
972 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQU8()
975 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestNHWCxQU8()
1015 groups(), group_input_channels(), group_output_channels(), in TestNHWCxQU8()
1046 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQU8()
1053 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestNHWCxQU8()
1073 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestNHWCxF32()
1074 …std::vector<float> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() * … in TestNHWCxF32()
1075 std::vector<float> bias(groups() * group_output_channels()); in TestNHWCxF32()
1076 …() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestNHWCxF32()
1077 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * groups() * group_o… in TestNHWCxF32()
1090 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32()
1092 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF32()
1114 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32()
1116 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF32()
1118 … kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels() + oc]; in TestNHWCxF32()
1138 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32()
1141 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF32()
1178 groups(), group_input_channels(), group_output_channels(), in TestNHWCxF32()
1207 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32()
1214 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestNHWCxF32()
1216 … std::abs(output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_out… in TestNHWCxF32()
1242 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestNHWCxF16()
1243 …std::vector<uint16_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width()… in TestNHWCxF16()
1245 std::vector<uint16_t> bias(groups() * group_output_channels()); in TestNHWCxF16()
1247 …() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestNHWCxF16()
1248 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * groups() * group_o… in TestNHWCxF16()
1264 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF16()
1266 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF16()
1288 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF16()
1290 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF16()
1292 …fp16_ieee_to_fp32_value(kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels… in TestNHWCxF16()
1312 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF16()
1315 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestNHWCxF16()
1370 groups(), group_input_channels(), group_output_channels(), in TestNHWCxF16()
1399 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF16()
1405groups() + g) * group_output_channels() + c], fp16_ieee_to_fp32_value(output[((i * output_height()… in TestNHWCxF16()
1424 …((batch_size() - 1) * input_channel_stride() + groups() * group_input_channels()) * input_height()… in TestNCHWxF32()
1426groups() * group_output_channels() * kernel_height() * kernel_width() * group_input_channels()); in TestNCHWxF32()
1427 std::vector<float> bias(groups() * group_output_channels()); in TestNCHWxF32()
1429 …((batch_size() - 1) * output_channel_stride() + groups() * group_output_channels()) * output_heigh… in TestNCHWxF32()
1430 …std::vector<float> output_ref(batch_size() * groups() * group_output_channels() * output_height() … in TestNCHWxF32()
1448 for (size_t g = 0; g < groups(); g++) { in TestNCHWxF32()
1450 …output_ref[(((i * groups() + g) * group_output_channels() + oc) * output_height() + oy) * output_w… in TestNCHWxF32()
1470 for (size_t g = 0; g < groups(); g++) { in TestNCHWxF32()
1473 …output_ref[(((i * groups() + g) * group_output_channels() + oc) * output_height() + oy) * output_w… in TestNCHWxF32()
1474 …input[((((i * input_height() + iy) * input_width() + ix) * groups() + g) * group_input_channels() … in TestNCHWxF32()
1498 for (size_t g = 0; g < groups(); g++) { in TestNCHWxF32()
1500 …output_ref[(((i * groups() + g) * group_output_channels() + oc) * output_height() + oy) * output_w… in TestNCHWxF32()
1502 … kernel[((ky * kernel_width() + kx) * groups() + g) * group_output_channels() + oc]; in TestNCHWxF32()
1522 for (size_t g = 0; g < groups(); g++) { in TestNCHWxF32()
1525 …output_ref[(((i * groups() + g) * group_output_channels() + oc) * output_height() + oy) * output_w… in TestNCHWxF32()
1563 groups(), group_input_channels(), group_output_channels(), in TestNCHWxF32()
1592 for (size_t g = 0; g < groups(); g++) { in TestNCHWxF32()
1599 …output_ref[(((i * groups() + g) * group_output_channels() + c) * output_height() + y) * output_wid… in TestNCHWxF32()
1601 …1.0e-4 * std::abs(output_ref[(((i * groups() + g) * group_output_channels() + c) * output_height()… in TestNCHWxF32()
1627 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestSetupNHWCxQC8()
1628 …next_input_height() * next_input_width() - 1) * input_channel_stride() + groups() * group_input_ch… in TestSetupNHWCxQC8()
1629 …std::vector<int8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() *… in TestSetupNHWCxQC8()
1630 std::vector<int32_t> bias(groups() * group_output_channels()); in TestSetupNHWCxQC8()
1632 …batch_size() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * grou… in TestSetupNHWCxQC8()
1633 …t_output_height() * next_output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestSetupNHWCxQC8()
1634 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestSetupNHWCxQC8()
1635 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestSetupNHWCxQC8()
1636 std::vector<float> requantization_scales(groups() * group_output_channels()); in TestSetupNHWCxQC8()
1637 …ulators(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQC8()
1638 …put_ref(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQC8()
1639 std::vector<float> next_requantization_scales(groups() * group_output_channels()); in TestSetupNHWCxQC8()
1655 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1657 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQC8()
1676 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1679 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQC8()
1694 for (size_t c = 0; c < groups() * group_output_channels(); c++) { in TestSetupNHWCxQC8()
1698 …accumulated_min = std::min(accumulated_min, accumulators[px * groups() * group_output_channels() +… in TestSetupNHWCxQC8()
1699 …accumulated_max = std::max(accumulated_max, accumulators[px * groups() * group_output_channels() +… in TestSetupNHWCxQC8()
1717 for (size_t c = 0; c < groups() * group_output_channels(); c++) { in TestSetupNHWCxQC8()
1719 … output_ref[px * groups() * group_output_channels() + c] = double(int32_t(output_zero_point)) + in TestSetupNHWCxQC8()
1720 …double(accumulators[px * groups() * group_output_channels() + c]) * double(requantization_scales[c… in TestSetupNHWCxQC8()
1737 groups(), group_input_channels(), group_output_channels(), in TestSetupNHWCxQC8()
1766 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1773 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestSetupNHWCxQC8()
1792 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1794 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQC8()
1813 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1816 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQC8()
1829 for (size_t c = 0; c < groups() * group_output_channels(); c++) { in TestSetupNHWCxQC8()
1831 …next_output_ref[px * groups() * group_output_channels() + c] = double(int32_t(output_zero_point)) + in TestSetupNHWCxQC8()
1832 …double(next_accumulators[px * groups() * group_output_channels() + c]) * double(requantization_sca… in TestSetupNHWCxQC8()
1855 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQC8()
1862 …output_ref[(((i * next_output_height() + y) * next_output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxQC8()
1890 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestSetupNHWCxQS8()
1891 …next_input_height() * next_input_width() - 1) * input_channel_stride() + groups() * group_input_ch… in TestSetupNHWCxQS8()
1892 …std::vector<int8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() *… in TestSetupNHWCxQS8()
1893 std::vector<int32_t> bias(groups() * group_output_channels()); in TestSetupNHWCxQS8()
1895 …batch_size() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * grou… in TestSetupNHWCxQS8()
1896 …t_output_height() * next_output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestSetupNHWCxQS8()
1897 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestSetupNHWCxQS8()
1898 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestSetupNHWCxQS8()
1899 …ulators(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQS8()
1900 …put_ref(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQS8()
1915 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
1917 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQS8()
1936 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
1939 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQS8()
1977 groups(), group_input_channels(), group_output_channels(), in TestSetupNHWCxQS8()
2006 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
2013 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestSetupNHWCxQS8()
2032 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
2034 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQS8()
2053 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
2056 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQS8()
2089 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQS8()
2096 …output_ref[(((i * next_output_height() + y) * next_output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxQS8()
2120 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestSetupNHWCxQU8()
2121 …next_input_height() * next_input_width() - 1) * input_channel_stride() + groups() * group_input_ch… in TestSetupNHWCxQU8()
2122 …std::vector<uint8_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() … in TestSetupNHWCxQU8()
2123 std::vector<int32_t> bias(groups() * group_output_channels()); in TestSetupNHWCxQU8()
2125 …batch_size() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * grou… in TestSetupNHWCxQU8()
2126 …t_output_height() * next_output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestSetupNHWCxQU8()
2127 …std::vector<int32_t> accumulators(batch_size() * output_height() * output_width() * groups() * gro… in TestSetupNHWCxQU8()
2128 …std::vector<double> output_ref(batch_size() * output_height() * output_width() * groups() * group_… in TestSetupNHWCxQU8()
2129 …ulators(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQU8()
2130 …put_ref(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxQU8()
2146 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2148 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQU8()
2167 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2170 …accumulators[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_ch… in TestSetupNHWCxQU8()
2208 groups(), group_input_channels(), group_output_channels(), in TestSetupNHWCxQU8()
2238 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2245 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestSetupNHWCxQU8()
2264 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2266 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQU8()
2285 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2288 …mulators[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxQU8()
2321 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxQU8()
2328 …output_ref[(((i * next_output_height() + y) * next_output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxQU8()
2351 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestSetupNHWCxF16()
2352 …next_input_height() * next_input_width() - 1) * input_channel_stride() + groups() * group_input_ch… in TestSetupNHWCxF16()
2353 …std::vector<uint16_t> kernel(groups() * group_output_channels() * kernel_height() * kernel_width()… in TestSetupNHWCxF16()
2354 std::vector<uint16_t> bias(groups() * group_output_channels()); in TestSetupNHWCxF16()
2356 …batch_size() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * grou… in TestSetupNHWCxF16()
2357 …t_output_height() * next_output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestSetupNHWCxF16()
2358 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * groups() * group_o… in TestSetupNHWCxF16()
2359 …put_ref(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxF16()
2372 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2374 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestSetupNHWCxF16()
2393 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2396 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestSetupNHWCxF16()
2432 groups(), group_input_channels(), group_output_channels(), in TestSetupNHWCxF16()
2460 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2466groups() + g) * group_output_channels() + c], fp16_ieee_to_fp32_value(output[((i * output_height()… in TestSetupNHWCxF16()
2483 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2485 …tput_ref[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxF16()
2504 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2507 …tput_ref[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxF16()
2539 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF16()
2545groups() + g) * group_output_channels() + c], fp16_ieee_to_fp32_value(output[((i * next_output_hei… in TestSetupNHWCxF16()
2565 …batch_size() * ((input_height() * input_width() - 1) * input_channel_stride() + groups() * group_i… in TestSetupNHWCxF32()
2566 …next_input_height() * next_input_width() - 1) * input_channel_stride() + groups() * group_input_ch… in TestSetupNHWCxF32()
2567 …std::vector<float> kernel(groups() * group_output_channels() * kernel_height() * kernel_width() * … in TestSetupNHWCxF32()
2568 std::vector<float> bias(groups() * group_output_channels()); in TestSetupNHWCxF32()
2570 …batch_size() * ((output_height() * output_width() - 1) * output_channel_stride() + groups() * grou… in TestSetupNHWCxF32()
2571 …t_output_height() * next_output_width() - 1) * output_channel_stride() + groups() * group_output_c… in TestSetupNHWCxF32()
2572 …std::vector<float> output_ref(batch_size() * output_height() * output_width() * groups() * group_o… in TestSetupNHWCxF32()
2573 …put_ref(next_batch_size() * next_output_height() * next_output_width() * groups() * group_output_c… in TestSetupNHWCxF32()
2586 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2588 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestSetupNHWCxF32()
2607 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2610 …output_ref[(((i * output_height() + oy) * output_width() + ox) * groups() + g) * group_output_chan… in TestSetupNHWCxF32()
2645 groups(), group_input_channels(), group_output_channels(), in TestSetupNHWCxF32()
2673 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2680 …output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_output_channe… in TestSetupNHWCxF32()
2682 … std::abs(output_ref[(((i * output_height() + y) * output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxF32()
2699 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2701 …tput_ref[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxF32()
2720 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2723 …tput_ref[(((i * next_output_height() + oy) * next_output_width() + ox) * groups() + g) * group_out… in TestSetupNHWCxF32()
2755 for (size_t g = 0; g < groups(); g++) { in TestSetupNHWCxF32()
2762 …output_ref[(((i * next_output_height() + y) * next_output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxF32()
2764 …output_ref[(((i * next_output_height() + y) * next_output_width() + x) * groups() + g) * group_out… in TestSetupNHWCxF32()