├── .github └── workflows │ ├── pages.yml │ └── python-publish.yml ├── .gitignore ├── .gitmodules ├── .readthedocs.yaml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── doc ├── _config.toml ├── _static │ ├── css │ │ ├── custom.css │ │ └── tippy.css │ ├── images │ │ ├── favicon.jpg │ │ └── logo.jpg │ ├── references │ │ ├── articles.bib │ │ └── book.bib │ └── switcher.json ├── about │ ├── index.md │ ├── notation.md │ ├── quickstart.md │ └── zreferences.md ├── blog │ ├── index.md │ ├── performance_report.md │ └── vta_ffi_usage_guide.md ├── conf.py └── index.md ├── pyproject.toml ├── python └── tvm_book │ ├── __init__.py │ ├── _ffi_api.py │ ├── base.py │ ├── config │ ├── __init__.py │ └── env.py │ └── vta_ffi │ ├── __init__.py │ ├── _ffi_api.py │ └── base.py ├── src ├── extension.cc └── vta_rt.cc ├── tasks.py └── tests ├── caffeproto ├── .conanrc ├── .gitignore ├── CMakeLists-old.txt ├── CMakeLists.txt ├── conanfile.py ├── index.md ├── protos │ └── caffe.proto └── python │ ├── caffe_fuse.py │ ├── caffe_pb2.py │ ├── caffe_utils.py │ └── utils.py ├── test_add_one_validation.py ├── test_benchmark_add_one.py ├── test_loader_env.py ├── test_tvm_book.py └── test_vta_errors.py /.github/workflows/pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/.github/workflows/pages.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/.gitmodules -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/README.md -------------------------------------------------------------------------------- /doc/_config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_config.toml -------------------------------------------------------------------------------- /doc/_static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/css/custom.css -------------------------------------------------------------------------------- /doc/_static/css/tippy.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/css/tippy.css -------------------------------------------------------------------------------- /doc/_static/images/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/images/favicon.jpg -------------------------------------------------------------------------------- /doc/_static/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/images/logo.jpg -------------------------------------------------------------------------------- /doc/_static/references/articles.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/references/articles.bib -------------------------------------------------------------------------------- /doc/_static/references/book.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/references/book.bib -------------------------------------------------------------------------------- /doc/_static/switcher.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/_static/switcher.json -------------------------------------------------------------------------------- /doc/about/index.md: -------------------------------------------------------------------------------- 1 | # 关于本项目 2 | 3 | ```{toctree} 4 | TVM 官方教程 5 | notation 6 | zreferences 7 | ``` 8 | 9 | -------------------------------------------------------------------------------- /doc/about/notation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/about/notation.md -------------------------------------------------------------------------------- /doc/about/quickstart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/about/quickstart.md -------------------------------------------------------------------------------- /doc/about/zreferences.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/about/zreferences.md -------------------------------------------------------------------------------- /doc/blog/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/blog/index.md -------------------------------------------------------------------------------- /doc/blog/performance_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/blog/performance_report.md -------------------------------------------------------------------------------- /doc/blog/vta_ffi_usage_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/blog/vta_ffi_usage_guide.md -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/doc/index.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/pyproject.toml -------------------------------------------------------------------------------- /python/tvm_book/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/__init__.py -------------------------------------------------------------------------------- /python/tvm_book/_ffi_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/_ffi_api.py -------------------------------------------------------------------------------- /python/tvm_book/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/base.py -------------------------------------------------------------------------------- /python/tvm_book/config/__init__.py: -------------------------------------------------------------------------------- 1 | """项目配置""" 2 | -------------------------------------------------------------------------------- /python/tvm_book/config/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/config/env.py -------------------------------------------------------------------------------- /python/tvm_book/vta_ffi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/vta_ffi/__init__.py -------------------------------------------------------------------------------- /python/tvm_book/vta_ffi/_ffi_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/python/tvm_book/vta_ffi/_ffi_api.py -------------------------------------------------------------------------------- /python/tvm_book/vta_ffi/base.py: -------------------------------------------------------------------------------- 1 | from ..base import _LIB -------------------------------------------------------------------------------- /src/extension.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/src/extension.cc -------------------------------------------------------------------------------- /src/vta_rt.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/src/vta_rt.cc -------------------------------------------------------------------------------- /tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tasks.py -------------------------------------------------------------------------------- /tests/caffeproto/.conanrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/.conanrc -------------------------------------------------------------------------------- /tests/caffeproto/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/.gitignore -------------------------------------------------------------------------------- /tests/caffeproto/CMakeLists-old.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/CMakeLists-old.txt -------------------------------------------------------------------------------- /tests/caffeproto/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/CMakeLists.txt -------------------------------------------------------------------------------- /tests/caffeproto/conanfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/conanfile.py -------------------------------------------------------------------------------- /tests/caffeproto/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/index.md -------------------------------------------------------------------------------- /tests/caffeproto/protos/caffe.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/protos/caffe.proto -------------------------------------------------------------------------------- /tests/caffeproto/python/caffe_fuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/python/caffe_fuse.py -------------------------------------------------------------------------------- /tests/caffeproto/python/caffe_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/python/caffe_pb2.py -------------------------------------------------------------------------------- /tests/caffeproto/python/caffe_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/python/caffe_utils.py -------------------------------------------------------------------------------- /tests/caffeproto/python/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/caffeproto/python/utils.py -------------------------------------------------------------------------------- /tests/test_add_one_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/test_add_one_validation.py -------------------------------------------------------------------------------- /tests/test_benchmark_add_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/test_benchmark_add_one.py -------------------------------------------------------------------------------- /tests/test_loader_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/test_loader_env.py -------------------------------------------------------------------------------- /tests/test_tvm_book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/test_tvm_book.py -------------------------------------------------------------------------------- /tests/test_vta_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinetzone/tvm-book/HEAD/tests/test_vta_errors.py --------------------------------------------------------------------------------