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

Function read_tensor_f32

src/framework/core/backend.cpp:530–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528 for (int64_t i1 = 0; i1 < tensor->ne[1]; ++i1) {
529 for (int64_t i0 = 0; i0 < tensor->ne[0]; ++i0) {
530 const char * ptr = base
531 + i0 * tensor->nb[0]
532 + i1 * tensor->nb[1]
533 + i2 * tensor->nb[2]
534 + i3 * tensor->nb[3];
535 std::memcpy(&values[out_index++], ptr, sizeof(T));

Callers 15

runMethod · 0.85
encode_layersMethod · 0.85
encodeMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
export_stateMethod · 0.85
trace_log_stateMethod · 0.85
run_projectedMethod · 0.85
infer_16k_monoMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected