ggml : remove ggml_cpy_inplace and ggml_cont_inplace (ggml/693)

This commit is contained in:
Timothy Cronin 2024-01-11 02:27:48 -05:00 committed by Georgi Gerganov
parent 5362e43962
commit f85a973aa1
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 8 additions and 33 deletions

11
ggml.h
View file

@ -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,