multi_add: simplify

This commit is contained in:
Iwan Kawrakow
2024-10-30 11:02:15 +02:00
parent 8af4111f97
commit c08af00548
4 changed files with 53 additions and 105 deletions

View File

@@ -933,7 +933,8 @@ extern "C" {
GGML_API struct ggml_tensor * ggml_multi_add(
struct ggml_context * ctx,
struct ggml_tensor ** a);
struct ggml_tensor * a,
int n_experts);
// dst = a
// view(dst, nb1, nb2, nb3, offset) += b