| 55 | } |
| 56 | |
| 57 | core::TensorValue add_tensors( |
| 58 | core::ModuleBuildContext & ctx, |
| 59 | const core::TensorValue & lhs, |
| 60 | const core::TensorValue & rhs) { |
| 61 | return core::wrap_tensor(ggml_add(ctx.ggml, lhs.tensor, rhs.tensor), lhs.shape, GGML_TYPE_F32); |
| 62 | } |
| 63 | |
| 64 | core::TensorValue mul( |
| 65 | core::ModuleBuildContext & ctx, |
no test coverage detected