MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / f32_range

Function f32_range

external/ggml/tests/test-conv2d-dw.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <vector>
12
13std::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
23std::vector<float> conv_2d_dw_reference(

Callers 1

test_conv_2d_dwFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected