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

Method flush

src/framework/core/deferred_tensor_writer.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void DeferredTensorWriter::flush() const {
32 for (const auto & item : pending_f32_) {
33 core::write_tensor_f32(item.tensor, item.values);
34 }
35 for (const auto & item : pending_i32_) {
36 core::write_tensor_i32(item.tensor, item.values);
37 }
38}
39
40} // namespace engine::core

Calls 2

write_tensor_i32Function · 0.85
write_tensor_f32Function · 0.70

Tested by

no test coverage detected