Skip to content

Commit

Permalink
[Topi x86] Missing vectorize for depthwise conv2d. (apache#5196)
Browse files Browse the repository at this point in the history
  • Loading branch information
anijain2305 authored and zhiics committed Apr 17, 2020
1 parent 787e4fb commit 8407922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions topi/python/topi/x86/depthwise_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def _schedule_depthwise_conv2d_NCHWc_impl(s, cfg, data_vec, kernel_vec, conv_out
_, ic_chunk, oh, ow, ic_block = s[C].op.axis
ow_chunk, ow_block = s[C].split(ow, factor=tile_ow)
s[C].reorder(ic_chunk, oh, ow_chunk, ow_block, ic_block)
s[C].vectorize(ic_block)
parallel_axis = s[C].fuse(ic_chunk, oh)
s[C].parallel(parallel_axis)
s[CC].compute_at(s[C], ow_chunk)
Expand Down

0 comments on commit 8407922

Please sign in to comment.