| 2270 | // ggml_log |
| 2271 | |
| 2272 | static struct ggml_tensor * ggml_log_impl( |
| 2273 | struct ggml_context * ctx, |
| 2274 | struct ggml_tensor * a, |
| 2275 | bool inplace) { |
| 2276 | struct ggml_tensor * result = inplace ? ggml_view_tensor(ctx, a) : ggml_dup_tensor(ctx, a); |
| 2277 | |
| 2278 | result->op = GGML_OP_LOG; |
| 2279 | result->src[0] = a; |
| 2280 | |
| 2281 | return result; |
| 2282 | } |
| 2283 | |
| 2284 | struct ggml_tensor * ggml_log( |
| 2285 | struct ggml_context * ctx, |
no test coverage detected