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 }
529 ggml_backend_tensor_set(tensor.tensor, values, 0, count * sizeof(float));
530}
531
532void write_tensor_f32_slice(const TensorValue & tensor, size_t element_offset, const float * values, size_t count) {
533 if (tensor.type != GGML_TYPE_F32) {
534 throw std::runtime_error("write_tensor_f32_slice requires GGML_TYPE_F32 tensor");
535 }

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