This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.


    from 79cfab0  [JVM] Update the runtime PackedFunc for module
     add 51a265a  [REFACTOR][PY][API-CHANGE] Establish tvm.target

No new revisions were added by this update.

Summary of changes:
 docs/api/python/index.rst                          |   2 +-
 docs/api/python/target.rst                         |   1 +
 python/tvm/__init__.py                             |   2 -
 python/tvm/_ffi/runtime_ctypes.py                  |  35 +-
 python/tvm/autotvm/task/dispatcher.py              |   4 +-
 python/tvm/build_module.py                         |   5 +-
 python/tvm/contrib/clang.py                        |   9 +-
 python/tvm/contrib/rocm.py                         |  10 +-
 python/tvm/hybrid/calls.py                         |   4 +-
 python/tvm/hybrid/runtime.py                       |   2 +-
 python/tvm/intrin.py                               |   4 +-
 python/tvm/relay/backend/vm.py                     |   2 +-
 python/tvm/relay/build_module.py                   |   2 +-
 python/tvm/relay/qnn/op/legalizations.py           |   4 +-
 python/tvm/relay/quantize/_calibrate.py            |   4 +-
 python/tvm/relay/quantize/_partition.py            |   6 +-
 python/tvm/target.py                               | 559 ---------------------
 python/tvm/target/__init__.py                      |  62 +++
 python/tvm/{ir => target}/_ffi_api.py              |   4 +-
 python/tvm/{ => target}/codegen.py                 |  46 +-
 python/tvm/{ => target}/datatype.py                |  24 +-
 python/tvm/target/generic_func.py                  | 271 ++++++++++
 python/tvm/target/target.py                        | 272 ++++++++++
 src/runtime/c_runtime_api.cc                       |  14 +-
 src/target/codegen.cc                              |   2 +-
 src/target/datatype/registry.cc                    |   9 +-
 src/target/generic_func.cc                         |  10 +-
 src/target/llvm/llvm_module.cc                     |  13 +-
 src/target/target.cc                               |  10 +-
 src/tir/pass/lower_custom_datatypes.cc             |  24 +-
 tests/cpp/build_module_test.cc                     |   6 +-
 tests/python/integration/test_dot.py               |   2 +-
 tests/python/relay/test_op_level2.py               |   4 +-
 tests/python/unittest/test_autotvm_common.py       |   2 +-
 tests/python/unittest/test_codegen_c_host.py       |   2 +-
 tests/python/unittest/test_codegen_device.py       |   8 +-
 tests/python/unittest/test_codegen_llvm.py         |   8 +-
 tests/python/unittest/test_codegen_static_init.py  |   4 +-
 tests/python/unittest/test_codegen_vm_basic.py     |   2 +-
 tests/python/unittest/test_codegen_x86.py          |   4 +-
 .../unittest/test_custom_datatypes_mybfloat16.py   |  18 +-
 tests/python/unittest/test_lang_target.py          |   2 +-
 tests/python/unittest/test_runtime_extension.py    |   2 +-
 tests/python/unittest/test_runtime_module_load.py  |   2 +-
 topi/python/topi/arm_cpu/conv2d.py                 |   6 +-
 topi/python/topi/bifrost/conv2d.py                 |   2 +-
 topi/python/topi/bifrost/transforms.py             |   2 +-
 topi/python/topi/cuda/batch_matmul.py              |   4 +-
 topi/python/topi/cuda/conv1d.py                    |   4 +-
 topi/python/topi/cuda/conv1d_transpose_ncw.py      |   2 +-
 topi/python/topi/cuda/conv2d.py                    |   6 +-
 topi/python/topi/cuda/conv2d_direct.py             |   2 +-
 topi/python/topi/cuda/conv2d_transpose_nchw.py     |   2 +-
 topi/python/topi/cuda/conv2d_winograd.py           |   6 +-
 topi/python/topi/cuda/conv3d.py                    |   6 +-
 topi/python/topi/cuda/conv3d_direct.py             |   2 +-
 topi/python/topi/cuda/deformable_conv2d.py         |   2 +-
 topi/python/topi/cuda/dense.py                     |   8 +-
 topi/python/topi/cuda/depthwise_conv2d.py          |   4 +-
 topi/python/topi/cuda/group_conv2d_nchw.py         |   2 +-
 topi/python/topi/cuda/injective.py                 |   2 +-
 topi/python/topi/cuda/nms.py                       |  18 +-
 topi/python/topi/cuda/nn.py                        |   2 +-
 topi/python/topi/cuda/pooling.py                   |   4 +-
 topi/python/topi/cuda/rcnn/proposal.py             |   6 +-
 topi/python/topi/cuda/reduction.py                 |   4 +-
 topi/python/topi/cuda/sort.py                      |   4 +-
 topi/python/topi/cuda/ssd/multibox.py              |   6 +-
 topi/python/topi/cuda/vision.py                    |   2 +-
 topi/python/topi/generic/extern.py                 |   2 +-
 topi/python/topi/generic/injective.py              |   2 +-
 topi/python/topi/generic/nn.py                     |   6 +-
 topi/python/topi/generic/vision.py                 |   4 +-
 topi/python/topi/intel_graphics/conv2d.py          |   2 +-
 .../python/topi/intel_graphics/depthwise_conv2d.py |   4 +-
 topi/python/topi/mali/conv2d.py                    |   2 +-
 topi/python/topi/nn/conv2d.py                      |   2 +-
 topi/python/topi/rocm/conv2d.py                    |   4 +-
 topi/python/topi/rocm/dense.py                     |   4 +-
 topi/python/topi/rocm/nn.py                        |   2 +-
 topi/python/topi/x86/batch_matmul.py               |   4 +-
 topi/python/topi/x86/conv2d.py                     |   4 +-
 topi/python/topi/x86/conv2d_alter_op.py            |   2 +-
 topi/python/topi/x86/conv2d_int8.py                |   8 +-
 topi/python/topi/x86/dense.py                      |   8 +-
 topi/python/topi/x86/tensor_intrin.py              |   5 +-
 topi/python/topi/x86/util.py                       |   2 +-
 vta/python/vta/top/op.py                           |  20 +-
 vta/scripts/tune_conv2d.py                         |   2 +-
 vta/scripts/tune_conv2d_transpose.py               |   2 +-
 vta/scripts/tune_dense.py                          |   2 +-
 vta/scripts/tune_group_conv2d.py                   |   2 +-
 vta/scripts/tune_resnet.py                         |   4 +-
 vta/tutorials/autotvm/tune_relay_vta.py            |   2 +-
 94 files changed, 891 insertions(+), 800 deletions(-)
 delete mode 100644 python/tvm/target.py
 create mode 100644 python/tvm/target/__init__.py
 copy python/tvm/{ir => target}/_ffi_api.py (92%)
 rename python/tvm/{ => target}/codegen.py (56%)
 rename python/tvm/{ => target}/datatype.py (85%)
 create mode 100644 python/tvm/target/generic_func.py
 create mode 100644 python/tvm/target/target.py

Reply via email to