| 2599 | } |
| 2600 | |
| 2601 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { |
| 2602 | assert(i < GGML_MAX_OP_PARAMS / sizeof(int32_t)); |
| 2603 | return ((const int32_t *)(tensor->op_params))[i]; |
| 2604 | } |
| 2605 | |
| 2606 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { |
| 2607 | assert(i < GGML_MAX_OP_PARAMS / sizeof(int32_t)); |
no outgoing calls
no test coverage detected