|
@@ -6807,7 +6807,17 @@ static void list_all_ops() {
|
|
|
static void show_test_coverage() {
|
|
static void show_test_coverage() {
|
|
|
std::set<std::string> all_ops;
|
|
std::set<std::string> all_ops;
|
|
|
for (int i = 1; i < GGML_OP_COUNT; i++) {
|
|
for (int i = 1; i < GGML_OP_COUNT; i++) {
|
|
|
- all_ops.insert(ggml_op_name((enum ggml_op)i));
|
|
|
|
|
|
|
+ auto op = (enum ggml_op)i;
|
|
|
|
|
+ if (op == GGML_OP_VIEW ||
|
|
|
|
|
+ op == GGML_OP_RESHAPE ||
|
|
|
|
|
+ op == GGML_OP_PERMUTE ||
|
|
|
|
|
+ op == GGML_OP_TRANSPOSE ||
|
|
|
|
|
+ op == GGML_OP_CONT ||
|
|
|
|
|
+ op == GGML_OP_GLU ||
|
|
|
|
|
+ op == GGML_OP_UNARY) {
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+ all_ops.insert(ggml_op_name(op));
|
|
|
}
|
|
}
|
|
|
for (int i = 0; i < GGML_UNARY_OP_COUNT; i++) {
|
|
for (int i = 0; i < GGML_UNARY_OP_COUNT; i++) {
|
|
|
all_ops.insert(ggml_unary_op_name((enum ggml_unary_op)i));
|
|
all_ops.insert(ggml_unary_op_name((enum ggml_unary_op)i));
|