Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Jan 18, 2022
1 parent 211a58b commit 426e5dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/tvm/contrib/cudnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,9 @@ def conv_backward_data(x, w, pad, stride, dilation, conv_mode, tensor_format, co

x_shape = list(x.shape)

assert isinstance(x.shape[0], tvm.tir.expr.IntImm), "Dynamic batch is not supported for cudnn conv2d backwad data yet."
assert isinstance(
x.shape[0], tvm.tir.expr.IntImm
), "Dynamic batch is not supported for cudnn conv2d backwad data yet."
# TODO: fix oshape
oshape = x_shape
if tensor_format == 0:
Expand Down

0 comments on commit 426e5dc

Please sign in to comment.