Skip to content

Commit 17a7b47

Browse files
committed
Fix an issue caused by uninitialized c in triton_conv2d
1 parent d421777 commit 17a7b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conv2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def triton_conv2d_kernel(
243243

244244

245245
def triton_conv2d(input, filter):
246-
n, _, h, w = input.shape
246+
n, c, h, w = input.shape
247247
k, _, r, s = filter.shape
248248
p = h - r + 1
249249
q = w - s + 1

0 commit comments

Comments
 (0)