Skip to content

Commit

Permalink
[Autotvm] Fix autotvm customized template (apache#5034)
Browse files Browse the repository at this point in the history
* init

* fix template

* tweak naming
  • Loading branch information
icemelon authored Mar 12, 2020
1 parent 38da791 commit 40f7116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/autotvm/tune_relay_vta.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def my_clip(x, a_min, a_max):
# init autotvm env to register VTA operator
TaskExtractEnv()

@autotvm.register_customized_task("conv2d_packed.vta")
@autotvm.template("conv2d_packed.vta")
def _topi_nn_conv2d(*args, **kwargs):
assert not kwargs, "Do not support kwargs in template function call"
A, W = args[:2]
Expand Down

0 comments on commit 40f7116

Please sign in to comment.