Skip to content

Commit

Permalink
[TOPI] Raise exception group_conv2d_nchw not supported (apache#3195)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and wweic committed Jun 27, 2019
1 parent f324fdb commit 8200272
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions topi/python/topi/cuda/group_conv2d_nchw.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def schedule_conv2d_nchw_cuda(cfg, outs):
def _callback(op):
if op.tag == "group_conv2d_NCHWc_int8":
schedule_group_conv2d_NCHWc_int8(cfg, s, op.output(0))
if op.tag == "group_conv2d_nchw":
raise tvm.error.OpNotImplemented("group_conv2d_nchw not supported")

traverse_inline(s, outs[0].op, _callback)
return s

0 comments on commit 8200272

Please sign in to comment.