Skip to content

Commit

Permalink
[TOPI] Add dilation argument to conv2d and depthwise_conv2d (apache#1970
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vinx13 authored and tqchen committed Oct 31, 2018
1 parent 9ab4128 commit 0fc5812
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/python/integration/test_benchmark_topi_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def run_cpu_conv2d(env, remote, key, batch_size, wl, profile=True):
res_conv = topi.nn.conv2d(
data, kernel, padding=(wl.hpad, wl.wpad),
strides=(wl.hstride, wl.wstride),
dilation=(1, 1),
out_dtype="int32")
res = topi.right_shift(res_conv, 8)
res = my_clip(res, 0, 127)
Expand Down

0 comments on commit 0fc5812

Please sign in to comment.