Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/tvm/topi/x86/conv3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _conv3d_ndhwc(cfg, data, kernel, strides, padding, dilation, groups, out_dty
# pack kernel
shape = (
num_filter // oc_bn,
in_channel // groups // ic_bn,
in_channel // groups // ic_bn if (in_channel // groups // ic_bn) else 1,
kernel_depth,
kernel_height,
kernel_width,
Expand Down Expand Up @@ -392,7 +392,7 @@ def _conv3d_ncdhw(cfg, data, kernel, strides, padding, dilation, layout, groups,
# pack kernel
shape = (
num_filter // oc_bn,
in_channel // groups // ic_bn,
in_channel // groups // ic_bn if (in_channel // groups // ic_bn) else 1,
kernel_depth,
kernel_height,
kernel_width,
Expand Down
2 changes: 1 addition & 1 deletion tests/python/frontend/onnx/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -2967,7 +2967,7 @@ def repeat(num, dims):
)

# TODO(jwfromm): Merge with other tests once group_conv3d is supported.
for dims in [1, 2]:
for dims in [1, 2, 3]:
# Group Convolution
verify_conv(
(1, 8) + repeat(5, dims),
Expand Down