And also I got some error using method 1. Here is my code: ```python strides, padding, dilation = (1, 1), (1, 1), (1, 1) data = te.placeholder((1, 512, 7, 7), name="data") kernel = te.placeholder((512, 512, 3, 3), name="kernel") cfg = autotvm.get_config() task = autotvm.task.create( "conv2d_nchw.cuda", args=( cfg, data, kernel, strides, padding, dilation), target="cuda" ) ``` And the error info is: ``` Cannot find config for target=None, workload=None. A fallback configuration is used, which may bring great performance regression. Traceback (most recent call last): File "tvm_op_test.py", line 105, in <module> "conv2d_nchw.cuda", args=( cfg, data, kernel, strides, padding, dilation), target="cuda" File "/WorkSpace/incubator-tvm/python/tvm/autotvm/task/task.py", line 445, in create args = serialize_args(args) File "/WorkSpace/incubator-tvm/python/tvm/autotvm/task/task.py", line 77, in serialize_args ret.append(_encode(t)) File "/WorkSpace/incubator-tvm/python/tvm/autotvm/task/task.py", line 72, in _encode "primitive types or tvm.tir.Var only" % type(x) RuntimeError: Do not support type "<class 'tvm.autotvm.task.space.FallbackConfigEntity'>" in argument. Consider to useprimitive types or tvm.tir.Var only ```
--- [Visit Topic](https://discuss.tvm.apache.org/t/how-can-i-test-the-performance-of-a-single-operator/8362/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/d3107b6134f5a1bf3832ec93490aff25a43317fc92abe327734ec64135556571).