aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorslaren <slarengh@gmail.com>2023-06-24 12:57:18 +0200
committerGitHub <noreply@github.com>2023-06-24 13:57:18 +0300
commitf2c754e1c38936fdde74e4848ac468a696eb73c6 (patch)
tree93d8a363714ca6849acc88be62d1b63e42edbe83 /ggml.h
parent11da1a85cd69af84b5861134738c7e9e20907470 (diff)
ggml : improve ggml_graph_dump_dot, add ggml_format_name (#1978)
* Improve ggml_graph_dump_dot, add ggml_format_name * add more automatic names to view ops * fix name of copies
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ggml.h b/ggml.h
index 18c7855..4b6b728 100644
--- a/ggml.h
+++ b/ggml.h
@@ -563,6 +563,7 @@ extern "C" {
GGML_API const char * ggml_get_name(const struct ggml_tensor * tensor);
GGML_API struct ggml_tensor * ggml_set_name(struct ggml_tensor * tensor, const char * name);
+ GGML_API struct ggml_tensor * ggml_format_name(struct ggml_tensor * tensor, const char * fmt, ...);
//
// operations on tensors with backpropagation