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

Function euler_step

src/framework/sampling/diffusion_math.cpp:174–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174std::vector<float> euler_step(
175 const std::vector<float> & x,
176 const std::vector<float> & velocity,
177 float dt) {
178 std::vector<float> out = x;
179 euler_step_in_place(out, velocity, dt);
180 return out;
181}
182
183void euler_step_in_place(
184 std::vector<float> & x,

Callers 4

denoise_from_velocityFunction · 0.85
heun_stepFunction · 0.85
generate_latentsMethod · 0.85
test_velocity_and_stepsFunction · 0.85

Calls 1

euler_step_in_placeFunction · 0.85

Tested by 1

test_velocity_and_stepsFunction · 0.68