Skip to content

Commit 81da18e

Browse files
authored
eval-callback: use ggml_op_desc to pretty print unary operator name (ggml-org#6631)
1 parent 9ed2737 commit 81da18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/eval-callback/eval-callback.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static bool ggml_debug(struct ggml_tensor * t, bool ask, void * user_data) {
9393
}
9494

9595
printf("%s: %24s = (%s) %10s(%s{%s}, %s}) = {%s}\n", __func__,
96-
t->name, ggml_type_name(t->type), ggml_op_name(t->op),
96+
t->name, ggml_type_name(t->type), ggml_op_desc(t),
9797
src0->name, ggml_ne_string(src0).c_str(),
9898
src1 ? src1_str : "",
9999
ggml_ne_string(t).c_str());

0 commit comments

Comments
 (0)