| 11 | #include <vector> |
| 12 | |
| 13 | std::vector<float> f32_range(int n, float start, float end) { |
| 14 | std::vector<float> values(n); |
| 15 | float step = (end - start) / n; |
| 16 | for (int i = 0; i < n; i++) { |
| 17 | values[i] = start + i * step; |
| 18 | } |
| 19 | return values; |
| 20 | } |
| 21 | |
| 22 | // Most straightforward implementation without any optimizations |
| 23 | std::vector<float> conv_2d_dw_reference( |