MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / is_metadata_only_op

Function is_metadata_only_op

src/framework/runtime/graph_optimizer.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 return true;
24}
25
26bool is_metadata_only_op(ggml_op op) {
27 switch (op) {
28 case GGML_OP_RESHAPE:
29 case GGML_OP_VIEW:
30 case GGML_OP_PERMUTE:
31 case GGML_OP_TRANSPOSE:
32 return true;
33 default:
34 return false;
35 }
36}
37
38bool can_elide_from_execution_schedule(const ggml_tensor & node) {

Callers 1

optimize_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected