diff --git a/tutorials/autotvm/tune_relay_vta.py b/tutorials/autotvm/tune_relay_vta.py index 1d19e5d27eb9..c31d8ccd5e4f 100644 --- a/tutorials/autotvm/tune_relay_vta.py +++ b/tutorials/autotvm/tune_relay_vta.py @@ -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]