ggml : tag ggml_tensor::backend as deprecated (#7290)
This commit is contained in:
parent
9a17ab914b
commit
344f9126cc
4 changed files with 12 additions and 17 deletions
3
ggml.h
3
ggml.h
|
@ -565,7 +565,8 @@ extern "C" {
|
|||
// n-dimensional tensor
|
||||
struct ggml_tensor {
|
||||
enum ggml_type type;
|
||||
enum ggml_backend_type backend;
|
||||
|
||||
GGML_DEPRECATED(enum ggml_backend_type backend, "use the buffer type to find the storage location of the tensor");
|
||||
|
||||
struct ggml_backend_buffer * buffer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue