[Apache TVM Discuss] [Questions] How to verify the correctness of different schedule and tile size in autotvm?

2020-10-12 Thread HaoyuChi via Apache TVM Discuss
The verification code I extracted is: ``` import logging import numpy as np import tvm import random import sys import math import timeit from tvm import relay from tvm import autotvm def numpyBaseline(M,K,N): np_repeat = 100 np_runing_time = timeit.timeit(setup='import numpy\n'

[Apache TVM Discuss] [Questions] How to verify the correctness of different schedule and tile size in autotvm?

2020-10-12 Thread HaoyuChi via Apache TVM Discuss
In my understanding, autotvm implements operators based on opreation and schedule defination. For example, there are pack and no pack implementations in x86/dense.py. In the process of autotuning, the implementation-defined configs are fed into the actual measurement, but No such correctness