|
|
@@ -1529,7 +1529,11 @@ extern "C" {
|
|
|
struct ggml_context * ctx,
|
|
|
struct ggml_tensor * a);
|
|
|
|
|
|
- // supports 3D: a->ne[2] == b->ne[1]
|
|
|
+ // supports 4D a:
|
|
|
+ // a [n_embd, ne1, ne2, ne3]
|
|
|
+ // b I32 [n_rows, ne2, ne3, 1]
|
|
|
+ //
|
|
|
+ // return [n_embd, n_rows, ne2, ne3]
|
|
|
GGML_API struct ggml_tensor * ggml_get_rows(
|
|
|
struct ggml_context * ctx,
|
|
|
struct ggml_tensor * a, // data
|