Skip to content

Commit

Permalink
fix bugs for DCGAN and mobilenet (apache#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored and tmoreau89 committed Nov 25, 2018
1 parent dc11b26 commit c38ad70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/tvm/autotvm/task/nnvm_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(self, wanted_symbols):
# NOTE: To add more symbols, you only need to change the following lists
# nnvm symbol -> topi compute
self.symbol2topi = {
nnvm.sym.conv2d: [topi.nn.conv2d, topi.nn.depthwise_conv2d_nchw,
topi.nn.group_conv2d_nchw],
nnvm.sym.conv2d: [topi.nn.conv2d, topi.nn.depthwise_conv2d_nchw],
#topi.nn.group_conv2d_nchw],
nnvm.sym.conv2d_transpose: [topi.nn.conv2d_transpose_nchw],
nnvm.sym.dense: [topi.nn.dense],
}
Expand Down
2 changes: 1 addition & 1 deletion vta/python/vta/top/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ def schedule_conv2d_transpose(attrs, outs, target):
raise RuntimeError("not support target %s" % target)

with tvm.target.arm_cpu(tvm.target.current_target().model):
return _nn.schedule_conv2d_transpose(attrs, outs, target)
return _nn.schedule_conv2d_transpose(attrs, outs, tvm.target.current_target())

0 comments on commit c38ad70

Please sign in to comment.