summaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ggml.h b/ggml.h
index e9ed8eee..4d1d77fe 100644
--- a/ggml.h
+++ b/ggml.h
@@ -1161,13 +1161,11 @@ extern "C" {
enum ggml_prec prec);
// indirect matrix multiplication
- // ggml_mul_mat_id(ctx, as, ids, id, b) ~= ggml_mul_mat(as[ids[id]], b)
GGML_API struct ggml_tensor * ggml_mul_mat_id(
struct ggml_context * ctx,
struct ggml_tensor * as,
- struct ggml_tensor * ids,
- int id,
- struct ggml_tensor * b);
+ struct ggml_tensor * b,
+ struct ggml_tensor * ids);
// A: m columns, n rows,
// B: p columns, n rows,