diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2024-05-28 11:04:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 11:04:19 +0300 |
commit | 0548a4187f2e53b8fc6d9ff0f4c71988f708ff42 (patch) | |
tree | 35ae0e19ecc36169939620b2702fd853c8e8c116 /ggml.h | |
parent | 9335b969e86a222e247adacedf814d8abfff8847 (diff) |
ggml : generalize GGML_OP_CONCAT (#7563)
* ggml : generalize GGML_OP_CONCAT (WIP)
ggml-ci
* tests : add dim != 2 tests
* metal : generalize concat kernel
* tests : naming
* cuda : generalize concat kernel
ggml-ci
* sycl : add warning and assert
* ggml : fix op params handling
* metal : bugfix kernel
ggml-ci
* ggml : reimplement CPU and Metal
* cuda : add asserts
ggml-ci
* ggml : fix ptrs
ggml-ci
Diffstat (limited to 'ggml.h')
-rw-r--r-- | ggml.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1007,12 +1007,13 @@ extern "C" { struct ggml_tensor * a, struct ggml_tensor * b); - // concat a and b on dim 2 + // concat a and b along dim // used in stable-diffusion GGML_API struct ggml_tensor * ggml_concat( struct ggml_context * ctx, struct ggml_tensor * a, - struct ggml_tensor * b); + struct ggml_tensor * b, + int dim); GGML_API struct ggml_tensor * ggml_abs( struct ggml_context * ctx, |