| 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)); |
| 2608 | ((int32_t *)(tensor->op_params))[i] = value; |
| 2609 | } |
| 2610 | |
| 2611 | struct ggml_tensor * ggml_set_zero(struct ggml_tensor * tensor) { |
| 2612 | memset(tensor->data, 0, ggml_nbytes(tensor)); |
no outgoing calls
no test coverage detected