diff options
author | slaren <slarengh@gmail.com> | 2023-06-24 12:57:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 13:57:18 +0300 |
commit | f2c754e1c38936fdde74e4848ac468a696eb73c6 (patch) | |
tree | 93d8a363714ca6849acc88be62d1b63e42edbe83 /ggml.h | |
parent | 11da1a85cd69af84b5861134738c7e9e20907470 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |