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
This commit is contained in:
parent
11da1a85cd
commit
f2c754e1c3
2 changed files with 97 additions and 39 deletions
1
ggml.h
1
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue