Skip to content

Commit

Permalink
Passing dilation argument to account for API change. (apache#3510)
Browse files Browse the repository at this point in the history
  • Loading branch information
anijain2305 authored and wweic committed Jul 11, 2019
1 parent 4197fd3 commit 2fa43da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topi/recipe/conv/test_conv_int8_intel.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def run_inference(data_dtype, kernel_dtype, out_dtype, im_height, im_width, in_f

with tvm.target.create(TARGET_NAME):
conv = topi.nn.conv2d_NCHWc(data, kernel, stride=hstride,
padding=hpad, layout='NCHWc',
out_layout='NCHWc', out_dtype=out_dtype)
padding=hpad, dilation=(1, 1),
layout='NCHWc', out_layout='NCHWc', out_dtype=out_dtype)
out = topi.nn.relu(conv)
sch = tvm.create_schedule(out.op)
func = tvm.build(sch, [data, kernel, out], target=TARGET_NAME, name='out')
Expand Down

0 comments on commit 2fa43da

Please sign in to comment.