| 1832 | } |
| 1833 | |
| 1834 | enum ggml_glu_op ggml_get_glu_op(const struct ggml_tensor * tensor) { |
| 1835 | GGML_ASSERT(tensor->op == GGML_OP_GLU); |
| 1836 | return (enum ggml_glu_op) ggml_get_op_params_i32(tensor, 0); |
| 1837 | } |
| 1838 | |
| 1839 | const char * ggml_get_name(const struct ggml_tensor * tensor) { |
| 1840 | return tensor->name; |