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

Function write_x0_prefix

src/models/ace_step/diffusion.cpp:642–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640 if (batch_size == 1) {
641 return values;
642 }
643 std::vector<float> out;
644 out.reserve(values.size() * static_cast<size_t>(batch_size));
645 for (int64_t batch = 0; batch < batch_size; ++batch) {
646 out.insert(out.end(), values.begin(), values.end());
647 }

Callers 1

generate_latentsMethod · 0.85

Calls 1

euler_step_in_placeFunction · 0.85

Tested by

no test coverage detected