| 62 | return core::wrap_tensor(ggml_add(ctx.ggml, lhs.tensor, rhs.tensor), lhs.shape, GGML_TYPE_F32); |
| 63 | } |
| 64 | |
| 65 | core::TensorValue mul( |
| 66 | core::ModuleBuildContext & ctx, |
| 67 | const core::TensorValue & lhs, |
| 68 | const core::TensorValue & rhs) { |
| 69 | return core::wrap_tensor(ggml_mul(ctx.ggml, lhs.tensor, rhs.tensor), lhs.shape, GGML_TYPE_F32); |
| 70 | } |
| 71 | |
| 72 | core::TensorValue scale_tensor( |
no test coverage detected