Commit 8ddcc34
committed
Removes col_stride parameter from offset methods
Simplifies mask_offset and bias_offset method signatures by removing the unused col_stride parameter and eliminating col_stride multiplication in offset calculations.
The leftpad_k value is now added directly to the offset instead of being multiplied by col_stride, streamlining the computation logic.1 parent 1c76b31 commit 8ddcc34
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments