We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09dbed5 commit 870f627Copy full SHA for 870f627
tests/test-backend-ops.cpp
@@ -6807,7 +6807,17 @@ static void list_all_ops() {
6807
static void show_test_coverage() {
6808
std::set<std::string> all_ops;
6809
for (int i = 1; i < GGML_OP_COUNT; i++) {
6810
- all_ops.insert(ggml_op_name((enum ggml_op)i));
+ auto op = (enum ggml_op)i;
6811
+ if (op == GGML_OP_VIEW ||
6812
+ op == GGML_OP_RESHAPE ||
6813
+ op == GGML_OP_PERMUTE ||
6814
+ op == GGML_OP_TRANSPOSE ||
6815
+ op == GGML_OP_CONT ||
6816
+ op == GGML_OP_GLU ||
6817
+ op == GGML_OP_UNARY) {
6818
+ continue;
6819
+ }
6820
+ all_ops.insert(ggml_op_name(op));
6821
}
6822
for (int i = 0; i < GGML_UNARY_OP_COUNT; i++) {
6823
all_ops.insert(ggml_unary_op_name((enum ggml_unary_op)i));
0 commit comments