Skip to content

Commit

Permalink
Replace np.int with np.int32 (#17484)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h authored Oct 22, 2024
1 parent 3219b49 commit d973b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/topi/test_topi_depthwise_conv2d_back_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def verify_depthwise_conv2d_back_input(
stride_w = stride_h
padding_w = padding_h

out_h = np.int((in_h + 2 * padding_h - filter_h) / stride_h + 1)
out_w = np.int((in_w + 2 * padding_w - filter_w) / stride_w + 1)
out_h = np.int32((in_h + 2 * padding_h - filter_h) / stride_h + 1)
out_w = np.int32((in_w + 2 * padding_w - filter_w) / stride_w + 1)
out_channel = in_channel * channel_multiplier

ishape = [batch, in_h, in_w, in_channel]
Expand Down

0 comments on commit d973b33

Please sign in to comment.