Skip to content

Commit df8bcbc

Browse files
author
zhangyue
committed
fix(base): rename matmul.h to mat_mul.h to match MatMul class name
The codegen script `generate_wrappers.py` uses `_snake_to_pascal()` to derive the class name from the filename. `matmul` -> `Matmul`, but the class was renamed to `MatMul` (ONNX convention). Renaming the file to `mat_mul.h` makes `_snake_to_pascal("mat_mul")` -> `MatMul`, fixing the `IndexError: list index out of range` build failure.
1 parent f83cfb9 commit df8bcbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef INFINI_OPS_BASE_MATMUL_H_
2-
#define INFINI_OPS_BASE_MATMUL_H_
1+
#ifndef INFINI_OPS_BASE_MAT_MUL_H_
2+
#define INFINI_OPS_BASE_MAT_MUL_H_
33

44
#include "operator.h"
55
#include "tensor.h"

0 commit comments

Comments
 (0)