[Ansor][AutoTVM v2.0] Phase 1: feature extraction for cost models (#6190)
authorLianmin Zheng <lianminzheng@gmail.com>
Wed, 12 Aug 2020 21:00:49 +0000 (14:00 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2020 21:00:49 +0000 (14:00 -0700)
commit356588996a8862677df1f22030313df5f2cbf774
tree58bf6328feac99bb4b46492266da667127db5254
parent40450af983ab74385630620210ee4c670a0963db
[Ansor][AutoTVM v2.0] Phase 1: feature extraction for cost models (#6190)

* [AutoScheduler] add feature extraction

* fix lint

* fix gpu test

* address comments

* improve flop estimation

* rebase

* refactor with group

* fix

* Apply suggestions from code review
include/tvm/auto_scheduler/feature.h [new file with mode: 0644]
python/tvm/auto_scheduler/__init__.py
python/tvm/auto_scheduler/feature.py [new file with mode: 0644]
src/auto_scheduler/compute_dag.cc
src/auto_scheduler/feature.cc [new file with mode: 0644]
tests/python/unittest/test_auto_scheduler_compute_dag.py
tests/python/unittest/test_auto_scheduler_feature.py [new file with mode: 0644]