| 3008 | } |
| 3009 | |
| 3010 | float * ggml_get_data_f32(const struct ggml_tensor * tensor) { |
| 3011 | assert(tensor->type == GGML_TYPE_F32); |
| 3012 | return (float *)(tensor->data); |
| 3013 | } |
| 3014 | |
| 3015 | int32_t * ggml_get_data_i32(const struct ggml_tensor * tensor) { |
| 3016 | assert(tensor->type == GGML_TYPE_I32); |
no outgoing calls