summaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorTimothy Cronin <40186632+4imothy@users.noreply.github.com>2024-01-11 02:27:48 -0500
committerGeorgi Gerganov <ggerganov@gmail.com>2024-01-11 09:39:05 +0200
commitf85a973aa139ae6f37e8b8e1966f1d278b5e0372 (patch)
treee8ea5b9f6452de3791277b76779a6589a514bbe2 /ggml.h
parent5362e43962e84d61e20b91f34991d7ccaef4a7d5 (diff)
ggml : remove ggml_cpy_inplace and ggml_cont_inplace (ggml/693)
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/ggml.h b/ggml.h
index b6cc8595..127dcef1 100644
--- a/ggml.h
+++ b/ggml.h
@@ -1163,22 +1163,11 @@ extern "C" {
struct ggml_tensor * a,
struct ggml_tensor * b);
- // a -> b, in-place, return view(b)
- GGML_API struct ggml_tensor * ggml_cpy_inplace(
- struct ggml_context * ctx,
- struct ggml_tensor * a,
- struct ggml_tensor * b);
-
// make contiguous
GGML_API struct ggml_tensor * ggml_cont(
struct ggml_context * ctx,
struct ggml_tensor * a);
- // make contiguous, in-place
- GGML_API struct ggml_tensor * ggml_cont_inplace(
- struct ggml_context * ctx,
- struct ggml_tensor * a);
-
// make contiguous, with new shape
GGML_API struct ggml_tensor * ggml_cont_1d(
struct ggml_context * ctx,