| 524 | "write_tensor_f32 value count does not match tensor shape for tensor '" + |
| 525 | std::string(tensor.tensor != nullptr ? tensor.tensor->name : "<null>") + |
| 526 | "': expected " + std::to_string(tensor.shape.num_elements()) + |
| 527 | ", got " + std::to_string(count)); |
| 528 | } |
| 529 | ggml_backend_tensor_set(tensor.tensor, values, 0, count * sizeof(float)); |
| 530 | } |
| 531 |
no outgoing calls