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 a8ba1262ff
commit 73072a7c73
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,