This is an automated email from the ASF dual-hosted git repository.
masahi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 01460e0 ROCm: use GcnArch for mcpu and ApiVersion to select code
object version (#6447)
add f13fed5 [Format] Convert all Python code w/o CI (#6448)
No new revisions were added by this update.
Summary of changes:
apps/android_camera/models/prepare_model.py | 76 +-
apps/android_rpc/tests/android_rpc_test.py | 20 +-
apps/benchmark/arm_cpu_imagenet_bench.py | 54 +-
apps/benchmark/gpu_imagenet_bench.py | 72 +-
apps/benchmark/mobile_gpu_imagenet_bench.py | 53 +-
apps/benchmark/util.py | 41 +-
apps/bundle_deploy/build_model.py | 77 +-
apps/dso_plugin_module/test_plugin_module.py | 3 +-
apps/extension/python/tvm_ext/__init__.py | 9 +-
apps/extension/tests/test_ext.py | 39 +-
apps/howto_deploy/prepare_test_libs.py | 6 +-
apps/howto_deploy/python_deploy.py | 41 +-
apps/ios_rpc/init_proj.py | 34 +-
apps/ios_rpc/tests/ios_rpc_mobilenet.py | 68 +-
apps/ios_rpc/tests/ios_rpc_test.py | 22 +-
apps/lldb/tvm.py | 18 +-
apps/sgx/read_results.py | 6 +-
apps/sgx/src/build_model.py | 16 +-
apps/tf_tvmdsoop/tests/test_tfop_module.py | 16 +-
apps/topi_recipe/broadcast/test_broadcast_map.py | 23 +-
apps/topi_recipe/conv/depthwise_conv2d_test.py | 117 +-
apps/topi_recipe/conv/test_conv2d_hwcn_map.py | 20 +-
apps/topi_recipe/conv/test_conv_int8_arm.py | 200 +-
apps/topi_recipe/conv/test_conv_int8_intel.py | 187 +-
apps/topi_recipe/gemm/android_gemm_square.py | 32 +-
apps/topi_recipe/gemm/cuda_gemm_square.py | 31 +-
apps/topi_recipe/gemm/gemm_int8.py | 123 +-
apps/topi_recipe/reduce/test_reduce_map.py | 43 +-
apps/topi_recipe/rnn/lstm.py | 74 +-
apps/topi_recipe/rnn/matexp.py | 43 +-
.../wasm-graph/tools/build_graph_lib.py | 27 +-
conda/render_cuda.py | 21 +-
conftest.py | 4 +-
docs/conf.py | 151 +-
golang/sample/deploy.py | 8 +-
golang/sample/gen_mobilenet_lib.py | 24 +-
jvm/core/src/test/scripts/test_add_cpu.py | 12 +-
jvm/core/src/test/scripts/test_add_gpu.py | 12 +-
jvm/core/src/test/scripts/test_graph_runtime.py | 37 +-
jvm/core/src/test/scripts/test_rpc_proxy_server.py | 6 +-
nnvm/amalgamation/amalgamation.py | 80 +-
nnvm/amalgamation/generate.py | 5 +-
.../graph_tuner/__init__.py => pyproject.toml | 37 +-
python/setup.py | 120 +-
python/tvm/__init__.py | 2 +-
python/tvm/_ffi/_ctypes/ndarray.py | 14 +-
python/tvm/_ffi/_ctypes/object.py | 11 +-
python/tvm/_ffi/_ctypes/packed_func.py | 53 +-
python/tvm/_ffi/_ctypes/types.py | 29 +-
python/tvm/_ffi/_pyversion.py | 4 +-
python/tvm/_ffi/base.py | 25 +-
python/tvm/_ffi/libinfo.py | 77 +-
python/tvm/_ffi/registry.py | 23 +-
python/tvm/_ffi/runtime_ctypes.py | 181 +-
python/tvm/arith/analyzer.py | 15 +-
python/tvm/arith/int_set.py | 5 +-
python/tvm/arith/int_solver.py | 19 +-
python/tvm/arith/pattern.py | 2 +-
python/tvm/auto_scheduler/__init__.py | 16 +-
python/tvm/auto_scheduler/auto_schedule.py | 69 +-
python/tvm/auto_scheduler/compute_dag.py | 24 +-
python/tvm/auto_scheduler/cost_model/cost_model.py | 8 +-
python/tvm/auto_scheduler/cost_model/xgb_model.py | 168 +-
python/tvm/auto_scheduler/feature.py | 46 +-
python/tvm/auto_scheduler/loop_state.py | 148 +-
python/tvm/auto_scheduler/measure.py | 364 ++-
python/tvm/auto_scheduler/measure_record.py | 12 +-
python/tvm/auto_scheduler/search_policy.py | 51 +-
python/tvm/auto_scheduler/utils.py | 23 +-
python/tvm/auto_scheduler/workload_registry.py | 38 +-
python/tvm/autotvm/__init__.py | 28 +-
python/tvm/autotvm/database.py | 20 +-
python/tvm/autotvm/env.py | 2 +
python/tvm/autotvm/feature.py | 34 +-
python/tvm/autotvm/graph_tuner/base_graph_tuner.py | 187 +-
.../graph_tuner/dynamic_programming_stage.py | 69 +-
.../graph_tuner/dynamic_programming_tuner.py | 54 +-
python/tvm/autotvm/graph_tuner/pbqp_tuner.py | 78 +-
python/tvm/autotvm/graph_tuner/utils/__init__.py | 3 +-
.../autotvm/graph_tuner/utils/traverse_graph.py | 55 +-
python/tvm/autotvm/graph_tuner/utils/utils.py | 40 +-
python/tvm/autotvm/measure/__init__.py | 9 +-
python/tvm/autotvm/measure/executor.py | 4 +
python/tvm/autotvm/measure/local_executor.py | 13 +-
python/tvm/autotvm/measure/measure.py | 34 +-
python/tvm/autotvm/measure/measure_methods.py | 299 +-
python/tvm/autotvm/record.py | 116 +-
python/tvm/autotvm/task/__init__.py | 29 +-
python/tvm/autotvm/task/code_hash.py | 12 +-
python/tvm/autotvm/task/dispatcher.py | 28 +-
python/tvm/autotvm/task/relay_integration.py | 33 +-
python/tvm/autotvm/task/space.py | 267 +-
python/tvm/autotvm/task/task.py | 122 +-
python/tvm/autotvm/task/topi_integration.py | 39 +-
python/tvm/autotvm/tophub.py | 52 +-
python/tvm/autotvm/tuner/callback.py | 39 +-
python/tvm/autotvm/tuner/ga_tuner.py | 9 +-
python/tvm/autotvm/tuner/index_based_tuner.py | 8 +-
python/tvm/autotvm/tuner/metric.py | 15 +-
python/tvm/autotvm/tuner/model_based_tuner.py | 22 +-
python/tvm/autotvm/tuner/sa_model_optimizer.py | 47 +-
python/tvm/autotvm/tuner/tuner.py | 20 +-
python/tvm/autotvm/tuner/xgboost_cost_model.py | 239 +-
python/tvm/autotvm/tuner/xgboost_tuner.py | 41 +-
python/tvm/autotvm/util.py | 14 +-
python/tvm/contrib/binutil.py | 55 +-
python/tvm/contrib/cblas.py | 4 +-
python/tvm/contrib/cc.py | 66 +-
python/tvm/contrib/clang.py | 11 +-
python/tvm/contrib/coreml_runtime.py | 1 +
python/tvm/contrib/cublas.py | 21 +-
python/tvm/contrib/cublaslt.py | 10 +-
python/tvm/contrib/cudnn.py | 206 +-
python/tvm/contrib/debugger/debug_result.py | 102 +-
python/tvm/contrib/debugger/debug_runtime.py | 13 +-
python/tvm/contrib/dlpack.py | 9 +-
python/tvm/contrib/download.py | 32 +-
python/tvm/contrib/emcc.py | 12 +-
python/tvm/contrib/graph_runtime.py | 12 +-
python/tvm/contrib/hexagon.py | 135 +-
python/tvm/contrib/miopen.py | 72 +-
python/tvm/contrib/mkl.py | 6 +-
python/tvm/contrib/mkldnn.py | 2 +-
python/tvm/contrib/mps.py | 24 +-
python/tvm/contrib/mxnet.py | 9 +-
python/tvm/contrib/ndk.py | 20 +-
python/tvm/contrib/nnpack.py | 73 +-
python/tvm/contrib/nvcc.py | 25 +-
python/tvm/contrib/peak.py | 107 +-
python/tvm/contrib/pickle_memoize.py | 5 +
python/tvm/contrib/random.py | 34 +-
python/tvm/contrib/rocblas.py | 9 +-
python/tvm/contrib/rocm.py | 11 +-
python/tvm/contrib/rpc.py | 3 +-
python/tvm/contrib/sdaccel.py | 29 +-
python/tvm/contrib/sparse.py | 56 +-
python/tvm/contrib/spirv.py | 6 +-
python/tvm/contrib/tar.py | 10 +-
python/tvm/contrib/target/coreml.py | 124 +-
python/tvm/contrib/target/onnx.py | 616 ++--
python/tvm/contrib/tedd.py | 576 ++--
python/tvm/contrib/tf_op/module.py | 16 +-
python/tvm/contrib/tflite_runtime.py | 5 +-
python/tvm/contrib/util.py | 18 +-
python/tvm/contrib/xcode.py | 61 +-
python/tvm/driver/build_module.py | 105 +-
python/tvm/driver/tvmc/common.py | 1 +
python/tvm/driver/tvmc/main.py | 12 +-
python/tvm/error.py | 9 +-
python/tvm/exec/autotvm_log_editor.py | 9 +-
python/tvm/exec/measure_peak.py | 18 +-
python/tvm/exec/query_rpc_tracker.py | 8 +-
python/tvm/exec/rpc_proxy.py | 62 +-
python/tvm/exec/rpc_server.py | 130 +-
python/tvm/exec/rpc_tracker.py | 38 +-
python/tvm/hybrid/parser.py | 171 +-
python/tvm/hybrid/registry.py | 63 +-
python/tvm/hybrid/special_stmt.py | 65 +-
python/tvm/hybrid/ty.py | 4 +
python/tvm/ir/_ffi_transform_api.py | 1 -
python/tvm/ir/adt.py | 9 +-
python/tvm/ir/attrs.py | 7 +-
python/tvm/ir/base.py | 14 +-
python/tvm/ir/container.py | 7 +-
python/tvm/ir/expr.py | 16 +-
python/tvm/ir/function.py | 11 +-
python/tvm/ir/json_compact.py | 15 +-
python/tvm/ir/module.py | 1 +
python/tvm/ir/op.py | 5 +-
python/tvm/ir/tensor_type.py | 4 +-
python/tvm/ir/transform.py | 46 +-
python/tvm/ir/type.py | 38 +-
python/tvm/ir/type_relation.py | 5 +-
python/tvm/micro/base.py | 61 +-
python/tvm/micro/device/arm/stm32f746xx.py | 26 +-
python/tvm/micro/device/base.py | 35 +-
python/tvm/micro/device/host.py | 28 +-
python/tvm/micro/device/riscv_spike.py | 16 +-
python/tvm/micro/func_registry.py | 55 +-
python/tvm/parser/__init__.py | 3 +
python/tvm/relay/analysis/analysis.py | 7 +-
python/tvm/relay/analysis/annotated_regions.py | 7 +-
python/tvm/relay/analysis/feature.py | 2 +
python/tvm/relay/analysis/sparse_dense.py | 22 +-
python/tvm/relay/backend/compile_engine.py | 40 +-
python/tvm/relay/backend/graph_runtime_factory.py | 5 +-
python/tvm/relay/backend/interpreter.py | 37 +-
python/tvm/relay/backend/vm.py | 14 +-
python/tvm/relay/base.py | 3 +-
python/tvm/relay/build_module.py | 41 +-
python/tvm/relay/data_dep_optimization/__init__.py | 2 +-
.../tvm/relay/data_dep_optimization/bsr_dense.py | 9 +-
.../data_dep_optimization/simplify_fc_transpose.py | 4 +-
python/tvm/relay/data_dep_optimization/utils.py | 3 +-
python/tvm/relay/dataflow_pattern/__init__.py | 48 +-
python/tvm/relay/debug.py | 4 +
python/tvm/relay/expr.py | 45 +-
python/tvm/relay/expr_functor.py | 19 +-
python/tvm/relay/frontend/caffe.py | 280 +-
python/tvm/relay/frontend/caffe2.py | 356 ++-
python/tvm/relay/frontend/common.py | 92 +-
python/tvm/relay/frontend/coreml.py | 303 +-
python/tvm/relay/frontend/darknet.py | 572 ++--
python/tvm/relay/frontend/keras.py | 733 +++--
python/tvm/relay/frontend/mxnet.py | 1293 ++++----
python/tvm/relay/frontend/mxnet_qnn_op_utils.py | 230 +-
python/tvm/relay/frontend/nnvm_common.py | 41 +-
python/tvm/relay/frontend/onnx.py | 1453 +++++----
python/tvm/relay/frontend/pytorch.py | 975 +++---
python/tvm/relay/frontend/qnn_torch.py | 356 ++-
python/tvm/relay/frontend/tensorflow.py | 1913 ++++++------
python/tvm/relay/frontend/tensorflow_parser.py | 58 +-
python/tvm/relay/frontend/tflite.py | 1176 +++----
python/tvm/relay/frontend/tflite_flexbuffer.py | 25 +-
python/tvm/relay/function.py | 12 +-
python/tvm/relay/loops.py | 1 +
python/tvm/relay/op/__init__.py | 19 +-
python/tvm/relay/op/_algorithm.py | 5 +-
python/tvm/relay/op/_reduce.py | 3 +
python/tvm/relay/op/_tensor.py | 36 +-
python/tvm/relay/op/_tensor_grad.py | 170 +-
python/tvm/relay/op/_transform.py | 209 +-
python/tvm/relay/op/algorithm.py | 4 +-
python/tvm/relay/op/annotation/annotation.py | 7 +-
python/tvm/relay/op/contrib/arm_compute_lib.py | 80 +-
python/tvm/relay/op/contrib/coreml.py | 5 +-
python/tvm/relay/op/contrib/dnnl.py | 7 +-
python/tvm/relay/op/contrib/ethosn.py | 29 +-
python/tvm/relay/op/contrib/register.py | 2 +
python/tvm/relay/op/dyn/__init__.py | 2 +-
python/tvm/relay/op/dyn/_algorithm.py | 5 +-
python/tvm/relay/op/dyn/_tensor.py | 5 +-
python/tvm/relay/op/dyn/_transform.py | 16 +-
python/tvm/relay/op/dyn/image/_image.py | 29 +-
python/tvm/relay/op/dyn/nn/_nn.py | 52 +-
python/tvm/relay/op/image/_image.py | 41 +-
python/tvm/relay/op/image/image.py | 85 +-
python/tvm/relay/op/memory/memory.py | 9 +-
python/tvm/relay/op/nn/_nn.py | 231 +-
python/tvm/relay/op/nn/nn.py | 979 +++---
python/tvm/relay/op/op.py | 18 +-
python/tvm/relay/op/op_attrs.py | 9 +
python/tvm/relay/op/reduce.py | 4 +-
python/tvm/relay/op/strategy/arm_cpu.py | 151 +-
python/tvm/relay/op/strategy/bifrost.py | 50 +-
python/tvm/relay/op/strategy/cuda.py | 441 ++-
python/tvm/relay/op/strategy/generic.py | 441 ++-
python/tvm/relay/op/strategy/hls.py | 49 +-
python/tvm/relay/op/strategy/intel_graphics.py | 18 +-
python/tvm/relay/op/strategy/mali.py | 48 +-
python/tvm/relay/op/strategy/rocm.py | 61 +-
python/tvm/relay/op/strategy/x86.py | 178 +-
python/tvm/relay/op/tensor.py | 31 +-
python/tvm/relay/op/transform.py | 12 +-
python/tvm/relay/op/vision/_rcnn.py | 12 +-
python/tvm/relay/op/vision/_vision.py | 4 +
python/tvm/relay/op/vision/_yolo.py | 2 +-
python/tvm/relay/op/vision/multibox.py | 23 +-
python/tvm/relay/op/vision/nms.py | 65 +-
python/tvm/relay/op/vision/rcnn.py | 43 +-
python/tvm/relay/op/vision/yolo.py | 1 +
python/tvm/relay/param_dict.py | 3 +-
python/tvm/relay/prelude.py | 1249 ++++----
python/tvm/relay/qnn/op/layout_conversions.py | 27 +-
python/tvm/relay/qnn/op/legalizations.py | 124 +-
python/tvm/relay/qnn/op/op.py | 3 +-
python/tvm/relay/qnn/op/qnn.py | 268 +-
python/tvm/relay/qnn/transform.py | 1 +
python/tvm/relay/quantize/__init__.py | 2 +-
python/tvm/relay/quantize/_annotate.py | 31 +-
python/tvm/relay/quantize/_calibrate.py | 35 +-
python/tvm/relay/quantize/_partition.py | 12 +-
.../tvm/relay/quantize/_partition_conversions.py | 102 +-
python/tvm/relay/quantize/_quantize.py | 2 +-
python/tvm/relay/quantize/kl_divergence.py | 10 +-
python/tvm/relay/quantize/quantize.py | 68 +-
python/tvm/relay/scope_builder.py | 15 +-
python/tvm/relay/testing/__init__.py | 17 +-
python/tvm/relay/testing/darknet.py | 49 +-
python/tvm/relay/testing/dcgan.py | 88 +-
python/tvm/relay/testing/densenet.py | 69 +-
python/tvm/relay/testing/dqn.py | 52 +-
python/tvm/relay/testing/inception_v3.py | 475 ++-
python/tvm/relay/testing/init.py | 50 +-
python/tvm/relay/testing/layers.py | 29 +-
python/tvm/relay/testing/lstm.py | 124 +-
python/tvm/relay/testing/mlp.py | 15 +-
python/tvm/relay/testing/mobilenet.py | 201 +-
python/tvm/relay/testing/nat.py | 51 +-
python/tvm/relay/testing/py_converter.py | 236 +-
python/tvm/relay/testing/resnet.py | 280 +-
python/tvm/relay/testing/resnet_3d.py | 269 +-
python/tvm/relay/testing/squeezenet.py | 50 +-
python/tvm/relay/testing/synthetic.py | 8 +-
python/tvm/relay/testing/temp_op_attr.py | 4 +-
python/tvm/relay/testing/tf.py | 152 +-
python/tvm/relay/testing/vgg.py | 41 +-
python/tvm/relay/testing/yolo_detection.py | 195 +-
python/tvm/relay/transform/memory_alloc.py | 58 +-
python/tvm/relay/transform/memory_plan.py | 54 +-
python/tvm/relay/transform/transform.py | 56 +-
python/tvm/relay/ty.py | 1 +
python/tvm/relay/type_functor.py | 50 +-
python/tvm/rpc/base.py | 17 +-
python/tvm/rpc/client.py | 56 +-
python/tvm/rpc/minrpc.py | 15 +-
python/tvm/rpc/proxy.py | 182 +-
python/tvm/rpc/server.py | 93 +-
python/tvm/rpc/tornado_util.py | 14 +-
python/tvm/rpc/tracker.py | 47 +-
python/tvm/runtime/_ffi_node_api.py | 6 +-
python/tvm/runtime/container.py | 21 +-
python/tvm/runtime/module.py | 54 +-
python/tvm/runtime/ndarray.py | 60 +-
python/tvm/runtime/object.py | 16 +-
python/tvm/runtime/object_generic.py | 23 +-
python/tvm/runtime/packed_func.py | 2 +
python/tvm/runtime/vm.py | 30 +-
python/tvm/target/arm_isa.py | 5 +-
python/tvm/target/codegen.py | 4 +-
python/tvm/target/datatype.py | 8 +-
python/tvm/target/generic_func.py | 19 +-
python/tvm/target/tag.py | 11 +-
python/tvm/target/target.py | 163 +-
python/tvm/te/hybrid/__init__.py | 2 +
python/tvm/te/hybrid/calls.py | 75 +-
python/tvm/te/hybrid/module.py | 26 +-
python/tvm/te/hybrid/parser.py | 261 +-
python/tvm/te/hybrid/preprocessor.py | 49 +-
python/tvm/te/hybrid/runtime.py | 62 +-
python/tvm/te/hybrid/util.py | 40 +-
python/tvm/te/operation.py | 71 +-
python/tvm/te/schedule.py | 16 +-
python/tvm/te/tag.py | 3 +
python/tvm/te/tensor.py | 14 +-
python/tvm/te/tensor_intrin.py | 25 +-
python/tvm/testing.py | 156 +-
python/tvm/tir/buffer.py | 41 +-
python/tvm/tir/data_layout.py | 3 +
python/tvm/tir/expr.py | 190 +-
python/tvm/tir/function.py | 14 +-
python/tvm/tir/generic.py | 2 +
python/tvm/tir/ir_builder.py | 23 +-
python/tvm/tir/op.py | 75 +-
python/tvm/tir/stmt.py | 80 +-
python/tvm/tir/stmt_functor.py | 2 +-
python/tvm/tir/transform/function_pass.py | 9 +-
python/tvm/tir/transform/transform.py | 14 +-
python/tvm/topi/__init__.py | 2 +
python/tvm/topi/argwhere.py | 6 +
python/tvm/topi/arm_cpu/bitserial_conv2d.py | 330 +-
python/tvm/topi/arm_cpu/bitserial_dense.py | 108 +-
python/tvm/topi/arm_cpu/conv2d.py | 237 +-
python/tvm/topi/arm_cpu/conv2d_alter_op.py | 187 +-
python/tvm/topi/arm_cpu/conv2d_gemm.py | 131 +-
python/tvm/topi/arm_cpu/conv2d_int8.py | 65 +-
python/tvm/topi/arm_cpu/conv2d_spatial_pack.py | 358 ++-
python/tvm/topi/arm_cpu/conv2d_transpose.py | 120 +-
python/tvm/topi/arm_cpu/cortex_m7/conv2d/direct.py | 113 +-
.../topi/arm_cpu/cortex_m7/conv2d/direct_simd.py | 112 +-
.../topi/arm_cpu/cortex_m7/micro_kernel/gemm.py | 87 +-
python/tvm/topi/arm_cpu/depthwise_conv2d.py | 368 ++-
python/tvm/topi/arm_cpu/injective.py | 3 +
python/tvm/topi/arm_cpu/tensor_intrin.py | 221 +-
python/tvm/topi/bifrost/conv2d.py | 159 +-
python/tvm/topi/bifrost/dense.py | 42 +-
python/tvm/topi/bifrost/depthwise_conv2d.py | 10 +-
python/tvm/topi/bifrost/gemm.py | 67 +-
python/tvm/topi/bifrost/transforms.py | 25 +-
python/tvm/topi/broadcast.py | 2 +-
python/tvm/topi/cpp/__init__.py | 2 +-
python/tvm/topi/cuda/batch_matmul.py | 30 +-
python/tvm/topi/cuda/conv1d.py | 62 +-
python/tvm/topi/cuda/conv1d_transpose_ncw.py | 52 +-
python/tvm/topi/cuda/conv2d.py | 75 +-
python/tvm/topi/cuda/conv2d_alter_op.py | 150 +-
python/tvm/topi/cuda/conv2d_direct.py | 26 +-
python/tvm/topi/cuda/conv2d_hwcn.py | 58 +-
python/tvm/topi/cuda/conv2d_hwnc_tensorcore.py | 237 +-
python/tvm/topi/cuda/conv2d_int8.py | 148 +-
python/tvm/topi/cuda/conv2d_nhwc.py | 11 +-
python/tvm/topi/cuda/conv2d_nhwc_tensorcore.py | 124 +-
python/tvm/topi/cuda/conv2d_nhwc_winograd.py | 322 +-
python/tvm/topi/cuda/conv2d_transpose_nchw.py | 94 +-
python/tvm/topi/cuda/conv2d_winograd.py | 141 +-
python/tvm/topi/cuda/conv3d.py | 73 +-
python/tvm/topi/cuda/conv3d_alter_op.py | 25 +-
python/tvm/topi/cuda/conv3d_direct.py | 28 +-
python/tvm/topi/cuda/conv3d_ndhwc_tensorcore.py | 135 +-
python/tvm/topi/cuda/conv3d_transpose_ncdhw.py | 103 +-
python/tvm/topi/cuda/conv3d_winograd.py | 273 +-
python/tvm/topi/cuda/correlation.py | 32 +-
python/tvm/topi/cuda/deformable_conv2d.py | 36 +-
python/tvm/topi/cuda/dense.py | 149 +-
python/tvm/topi/cuda/dense_tensorcore.py | 159 +-
python/tvm/topi/cuda/depthwise_conv2d.py | 38 +-
python/tvm/topi/cuda/group_conv2d_nchw.py | 189 +-
python/tvm/topi/cuda/injective.py | 3 +
python/tvm/topi/cuda/nms.py | 261 +-
python/tvm/topi/cuda/nn.py | 1 +
python/tvm/topi/cuda/pooling.py | 11 +-
python/tvm/topi/cuda/rcnn/proposal.py | 148 +-
python/tvm/topi/cuda/reduction.py | 21 +-
python/tvm/topi/cuda/softmax.py | 12 +-
python/tvm/topi/cuda/sort.py | 184 +-
python/tvm/topi/cuda/sparse.py | 3 +-
python/tvm/topi/cuda/ssd/multibox.py | 268 +-
python/tvm/topi/cuda/tensor_intrin.py | 223 +-
python/tvm/topi/cuda/vision.py | 18 +-
python/tvm/topi/generic/conv2d.py | 98 +-
python/tvm/topi/generic/extern.py | 1 +
python/tvm/topi/generic/injective.py | 3 +
python/tvm/topi/generic/nn.py | 1 +
python/tvm/topi/generic/sort.py | 1 +
python/tvm/topi/generic/vision.py | 8 +
python/tvm/topi/generic_op_impl.py | 2 +
python/tvm/topi/hls/injective.py | 3 +
python/tvm/topi/hls/nn.py | 19 +-
python/tvm/topi/image/dilation2d.py | 48 +-
python/tvm/topi/image/grid_sample.py | 43 +-
python/tvm/topi/image/resize.py | 596 ++--
python/tvm/topi/intel_graphics/conv2d.py | 124 +-
python/tvm/topi/intel_graphics/conv2d_alter_op.py | 40 +-
python/tvm/topi/intel_graphics/depthwise_conv2d.py | 37 +-
python/tvm/topi/mali/conv2d.py | 243 +-
python/tvm/topi/mali/dense.py | 40 +-
python/tvm/topi/mali/depthwise_conv2d.py | 35 +-
python/tvm/topi/math.py | 22 +-
python/tvm/topi/nn/batch_matmul.py | 9 +-
python/tvm/topi/nn/bitserial_conv2d.py | 154 +-
python/tvm/topi/nn/bitserial_dense.py | 42 +-
python/tvm/topi/nn/bitserial_util.py | 25 +-
python/tvm/topi/nn/bnn.py | 33 +-
python/tvm/topi/nn/conv1d.py | 66 +-
python/tvm/topi/nn/conv1d_transpose.py | 27 +-
python/tvm/topi/nn/conv2d.py | 368 ++-
python/tvm/topi/nn/conv2d_transpose.py | 64 +-
python/tvm/topi/nn/conv3d.py | 80 +-
python/tvm/topi/nn/conv3d_transpose.py | 69 +-
python/tvm/topi/nn/correlation.py | 26 +-
python/tvm/topi/nn/deformable_conv2d.py | 57 +-
python/tvm/topi/nn/dense.py | 24 +-
python/tvm/topi/nn/depth_to_space.py | 20 +-
python/tvm/topi/nn/depthwise_conv2d.py | 160 +-
python/tvm/topi/nn/dilate.py | 12 +-
python/tvm/topi/nn/elemwise.py | 5 +
python/tvm/topi/nn/fifo_buffer.py | 168 +-
python/tvm/topi/nn/flatten.py | 1 +
python/tvm/topi/nn/local_response_norm.py | 1 +
python/tvm/topi/nn/mapping.py | 9 +-
python/tvm/topi/nn/pad.py | 51 +-
python/tvm/topi/nn/pooling.py | 147 +-
python/tvm/topi/nn/softmax.py | 42 +-
python/tvm/topi/nn/space_to_depth.py | 36 +-
python/tvm/topi/nn/sparse.py | 49 +-
python/tvm/topi/nn/upsampling.py | 119 +-
python/tvm/topi/nn/util.py | 14 +-
python/tvm/topi/nn/winograd_util.py | 128 +-
python/tvm/topi/reduction.py | 4 +-
python/tvm/topi/rocm/conv2d.py | 28 +-
python/tvm/topi/rocm/dense.py | 20 +-
python/tvm/topi/rocm/nn.py | 1 +
python/tvm/topi/scatter.py | 87 +-
python/tvm/topi/scatter_add.py | 87 +-
python/tvm/topi/sort.py | 70 +-
python/tvm/topi/sparse/csrmm.py | 56 +-
python/tvm/topi/sparse/csrmv.py | 45 +-
python/tvm/topi/sparse/dense.py | 123 +-
python/tvm/topi/tag.py | 4 +-
python/tvm/topi/tensor.py | 1 +
python/tvm/topi/testing/__init__.py | 10 +-
python/tvm/topi/testing/adaptive_pool_python.py | 8 +-
python/tvm/topi/testing/batch_matmul.py | 1 +
python/tvm/topi/testing/bilinear_resize_python.py | 11 +-
python/tvm/topi/testing/common.py | 27 +-
python/tvm/topi/testing/conv1d_ncw_python.py | 9 +-
.../topi/testing/conv1d_transpose_ncw_python.py | 8 +-
python/tvm/topi/testing/conv2d_hwcn_python.py | 5 +-
python/tvm/topi/testing/conv2d_nchw_python.py | 11 +-
python/tvm/topi/testing/conv2d_nhwc_python.py | 12 +-
python/tvm/topi/testing/conv2d_transpose_python.py | 41 +-
python/tvm/topi/testing/conv3d_ncdhw_python.py | 21 +-
python/tvm/topi/testing/conv3d_ndhwc_python.py | 15 +-
.../topi/testing/conv3d_transpose_ncdhw_python.py | 34 +-
python/tvm/topi/testing/correlation_nchw_python.py | 28 +-
python/tvm/topi/testing/crop_and_resize_python.py | 30 +-
.../topi/testing/deformable_conv2d_nchw_python.py | 16 +-
python/tvm/topi/testing/depth_to_space.py | 10 +-
python/tvm/topi/testing/depthwise_conv2d_python.py | 56 +-
python/tvm/topi/testing/dilate_python.py | 8 +-
python/tvm/topi/testing/gather_nd_python.py | 5 +-
python/tvm/topi/testing/gather_python.py | 3 +-
python/tvm/topi/testing/grid_sample_python.py | 7 +-
python/tvm/topi/testing/l2_normalize_python.py | 1 +
python/tvm/topi/testing/lrn_python.py | 25 +-
python/tvm/topi/testing/matrix_set_diag.py | 1 +
python/tvm/topi/testing/one_hot.py | 1 +
python/tvm/topi/testing/pool1d_python.py | 37 +-
python/tvm/topi/testing/pool_grad_python.py | 35 +-
python/tvm/topi/testing/reorg_python.py | 23 +-
python/tvm/topi/testing/roi_align_python.py | 13 +-
python/tvm/topi/testing/roi_pool_python.py | 3 +-
python/tvm/topi/testing/sequence_mask_python.py | 6 +-
python/tvm/topi/testing/slice_axis_python.py | 1 +
python/tvm/topi/testing/softmax_python.py | 6 +-
python/tvm/topi/testing/space_to_depth.py | 3 +-
python/tvm/topi/testing/strided_slice_python.py | 15 +-
.../tvm/topi/testing/trilinear_resize3d_python.py | 38 +-
python/tvm/topi/testing/upsampling_python.py | 67 +-
python/tvm/topi/transform.py | 102 +-
python/tvm/topi/util.py | 33 +-
python/tvm/topi/vision/nms.py | 189 +-
python/tvm/topi/vision/rcnn/proposal.py | 152 +-
python/tvm/topi/vision/rcnn/roi_align.py | 29 +-
python/tvm/topi/vision/rcnn/roi_pool.py | 34 +-
python/tvm/topi/vision/reorg.py | 1 +
python/tvm/topi/vision/ssd/multibox.py | 88 +-
python/tvm/topi/x86/batch_matmul.py | 17 +-
python/tvm/topi/x86/binarize_pack.py | 2 +-
python/tvm/topi/x86/binary_dense.py | 2 +-
python/tvm/topi/x86/bitserial_conv2d.py | 352 ++-
python/tvm/topi/x86/bitserial_dense.py | 115 +-
python/tvm/topi/x86/conv1d.py | 16 +-
python/tvm/topi/x86/conv2d.py | 97 +-
python/tvm/topi/x86/conv2d_alter_op.py | 177 +-
python/tvm/topi/x86/conv2d_avx_1x1.py | 61 +-
python/tvm/topi/x86/conv2d_avx_common.py | 23 +-
python/tvm/topi/x86/conv2d_int8.py | 108 +-
python/tvm/topi/x86/conv2d_transpose.py | 19 +-
python/tvm/topi/x86/conv3d.py | 298 +-
python/tvm/topi/x86/conv3d_transpose.py | 14 +-
python/tvm/topi/x86/dense.py | 81 +-
python/tvm/topi/x86/depthwise_conv2d.py | 103 +-
python/tvm/topi/x86/injective.py | 5 +
python/tvm/topi/x86/nn.py | 15 +-
python/tvm/topi/x86/pooling.py | 5 +-
python/tvm/topi/x86/reduction.py | 5 +-
python/tvm/topi/x86/roi_align.py | 58 +-
python/tvm/topi/x86/sparse.py | 8 +-
python/tvm/topi/x86/tensor_intrin.py | 242 +-
python/tvm/topi/x86/util.py | 2 +-
rust/tvm-graph-rt/tests/build_model.py | 15 +-
.../tests/test_nn/src/build_test_graph.py | 17 +-
.../tests/test_tvm_basic/src/build_test_lib.py | 14 +-
.../tests/test_tvm_dso/src/build_test_lib.py | 18 +-
.../tests/test_wasm32/src/build_test_lib.py | 16 +-
rust/tvm/examples/resnet/src/build_resnet.py | 68 +-
rust/tvm/tests/basics/src/tvm_add.py | 27 +-
tests/lint/filter_untracked.py | 40 +-
tests/lint/pylintrc | 2 +-
tests/micro/test_runtime_micro_on_arm.py | 116 +-
.../contrib/test_arm_compute_lib/infrastructure.py | 91 +-
.../contrib/test_arm_compute_lib/test_conv2d.py | 352 ++-
.../contrib/test_arm_compute_lib/test_dense.py | 220 +-
.../contrib/test_arm_compute_lib/test_network.py | 59 +-
.../contrib/test_arm_compute_lib/test_pooling.py | 225 +-
.../contrib/test_arm_compute_lib/test_reshape.py | 27 +-
.../contrib/test_arm_compute_lib/test_runtime.py | 28 +-
tests/python/contrib/test_binutil.py | 65 +-
tests/python/contrib/test_cblas.py | 49 +-
tests/python/contrib/test_coreml_codegen.py | 45 +-
tests/python/contrib/test_coreml_runtime.py | 33 +-
tests/python/contrib/test_cublas.py | 67 +-
tests/python/contrib/test_cudnn.py | 68 +-
tests/python/contrib/test_dlpack.py | 25 +-
tests/python/contrib/test_edgetpu_runtime.py | 23 +-
tests/python/contrib/test_ethosn/__init__.py | 1 -
tests/python/contrib/test_ethosn/infrastructure.py | 40 +-
.../python/contrib/test_ethosn/test_concatenate.py | 44 +-
tests/python/contrib/test_ethosn/test_conv2d.py | 297 +-
tests/python/contrib/test_ethosn/test_split.py | 8 +-
.../python/contrib/test_ethosn/test_topologies.py | 42 +-
tests/python/contrib/test_gemm_acc16.py | 60 +-
tests/python/contrib/test_gemm_acc32_vnni.py | 39 +-
tests/python/contrib/test_miopen.py | 23 +-
tests/python/contrib/test_mps.py | 22 +-
tests/python/contrib/test_mxnet_bridge.py | 4 +-
tests/python/contrib/test_nnpack.py | 110 +-
tests/python/contrib/test_onnx.py | 228 +-
tests/python/contrib/test_onnx_model.py | 45 +-
tests/python/contrib/test_random.py | 25 +-
tests/python/contrib/test_rocblas.py | 9 +-
tests/python/contrib/test_rpc_proxy.py | 12 +-
tests/python/contrib/test_rpc_tracker.py | 23 +-
tests/python/contrib/test_sort.py | 47 +-
tests/python/contrib/test_sparse.py | 81 +-
tests/python/contrib/test_tedd.py | 53 +-
tests/python/contrib/test_tflite_runtime.py | 37 +-
tests/python/contrib/test_util.py | 117 +-
tests/python/frontend/caffe/test_forward.py | 552 ++--
tests/python/frontend/caffe2/model_zoo/__init__.py | 12 +-
.../python/frontend/caffe2/model_zoo/squeezenet.py | 33 +-
tests/python/frontend/caffe2/test_forward.py | 223 +-
tests/python/frontend/caffe2/test_graph.py | 9 +-
tests/python/frontend/coreml/model_zoo/__init__.py | 23 +-
tests/python/frontend/coreml/test_forward.py | 525 ++--
tests/python/frontend/darknet/test_forward.py | 262 +-
tests/python/frontend/keras/test_forward.py | 417 +--
tests/python/frontend/mxnet/model_zoo/__init__.py | 20 +-
tests/python/frontend/mxnet/model_zoo/dcgan.py | 43 +-
tests/python/frontend/mxnet/model_zoo/dqn.py | 24 +-
.../frontend/mxnet/model_zoo/inception_v3.py | 428 ++-
tests/python/frontend/mxnet/model_zoo/mlp.py | 27 +-
tests/python/frontend/mxnet/model_zoo/resnet.py | 273 +-
.../python/frontend/mxnet/model_zoo/squeezenet.py | 39 +-
tests/python/frontend/mxnet/model_zoo/vgg.py | 51 +-
tests/python/frontend/mxnet/test_forward.py | 1267 +++++---
tests/python/frontend/mxnet/test_graph.py | 7 +-
tests/python/frontend/mxnet/test_qnn_ops_utils.py | 177 +-
tests/python/frontend/onnx/test_forward.py | 3231 ++++++++++----------
tests/python/frontend/pytorch/qnn_test.py | 63 +-
tests/python/frontend/pytorch/test_forward.py | 417 +--
tests/python/frontend/pytorch/test_lstm.py | 123 +-
.../python/frontend/tensorflow/test_bn_dynamic.py | 45 +-
.../frontend/tensorflow/test_control_flow.py | 96 +-
tests/python/frontend/tensorflow/test_debugging.py | 16 +-
tests/python/frontend/tensorflow/test_forward.py | 2889 ++++++++++-------
tests/python/frontend/tensorflow/test_no_op.py | 5 +-
tests/python/frontend/test_common.py | 2 +-
tests/python/frontend/tflite/test_forward.py | 2284 +++++++++-----
tests/python/integration/test_dot.py | 14 +-
tests/python/integration/test_ewise.py | 102 +-
tests/python/integration/test_ewise_fpga.py | 29 +-
tests/python/integration/test_gemm.py | 16 +-
tests/python/integration/test_reduce.py | 218 +-
tests/python/integration/test_scan.py | 10 +-
tests/python/integration/test_tuning.py | 53 +-
tests/python/integration/test_winograd_nnpack.py | 55 +-
.../quantization/test_quantization_accuracy.py | 145 +-
tests/python/relay/benchmarking/benchmark_vm.py | 74 +-
tests/python/relay/dyn/test_dynamic_op_level10.py | 17 +-
tests/python/relay/dyn/test_dynamic_op_level2.py | 89 +-
tests/python/relay/dyn/test_dynamic_op_level3.py | 47 +-
tests/python/relay/dyn/test_dynamic_op_level4.py | 38 +-
tests/python/relay/dyn/test_dynamic_op_level5.py | 8 +-
tests/python/relay/dyn/test_dynamic_op_level6.py | 2 +-
tests/python/relay/test_adt.py | 877 +++---
.../relay/test_analysis_basic_block_normal_form.py | 70 +-
.../relay/test_analysis_extract_fused_functions.py | 44 +-
tests/python/relay/test_analysis_feature.py | 61 +-
.../relay/test_analysis_get_calibration_data.py | 29 +-
tests/python/relay/test_annotated_regions.py | 62 +-
tests/python/relay/test_any.py | 507 ++-
tests/python/relay/test_autotvm_task_extraction.py | 84 +-
tests/python/relay/test_backend_compile_engine.py | 66 +-
tests/python/relay/test_backend_graph_runtime.py | 41 +-
tests/python/relay/test_backend_interpreter.py | 121 +-
tests/python/relay/test_call_graph.py | 16 +-
tests/python/relay/test_change_batch.py | 2 +
tests/python/relay/test_cmp_op.py | 19 +-
tests/python/relay/test_cpp_build_module.py | 27 +-
tests/python/relay/test_dataflow_pattern.py | 754 ++---
tests/python/relay/test_debug.py | 13 +-
tests/python/relay/test_error_reporting.py | 35 +-
tests/python/relay/test_expr_functor.py | 31 +-
tests/python/relay/test_external_codegen.py | 176 +-
tests/python/relay/test_ir_bind.py | 6 +-
tests/python/relay/test_ir_module.py | 1 +
tests/python/relay/test_ir_nodes.py | 35 +-
tests/python/relay/test_ir_op.py | 12 +-
tests/python/relay/test_ir_parser.py | 374 +--
.../python/relay/test_ir_structural_equal_hash.py | 291 +-
tests/python/relay/test_ir_text_printer.py | 48 +-
tests/python/relay/test_ir_well_formed.py | 10 +-
tests/python/relay/test_json_compact.py | 151 +-
tests/python/relay/test_json_runtime.py | 197 +-
tests/python/relay/test_memory_passes.py | 39 +-
tests/python/relay/test_op_fast_math.py | 7 +-
tests/python/relay/test_op_grad_level1.py | 60 +-
tests/python/relay/test_op_grad_level10.py | 33 +-
tests/python/relay/test_op_grad_level2.py | 136 +-
tests/python/relay/test_op_grad_level3.py | 9 +-
tests/python/relay/test_op_grad_level4.py | 4 +-
tests/python/relay/test_op_level1.py | 195 +-
tests/python/relay/test_op_level10.py | 86 +-
tests/python/relay/test_op_level2.py | 1100 ++++---
tests/python/relay/test_op_level3.py | 481 +--
tests/python/relay/test_op_level4.py | 164 +-
tests/python/relay/test_op_level5.py | 730 +++--
tests/python/relay/test_op_level6.py | 3 +
tests/python/relay/test_op_qnn_add.py | 158 +-
tests/python/relay/test_op_qnn_concatenate.py | 128 +-
tests/python/relay/test_op_qnn_conv2d.py | 1419 +++++----
tests/python/relay/test_op_qnn_dense.py | 223 +-
tests/python/relay/test_op_qnn_dequantize.py | 80 +-
tests/python/relay/test_op_qnn_mul.py | 100 +-
tests/python/relay/test_op_qnn_quantize.py | 128 +-
tests/python/relay/test_op_qnn_requantize.py | 350 ++-
tests/python/relay/test_op_qnn_subtract.py | 152 +-
tests/python/relay/test_param_dict.py | 12 +-
tests/python/relay/test_pass_alter_op_layout.py | 618 ++--
tests/python/relay/test_pass_annotate_target.py | 90 +-
tests/python/relay/test_pass_annotation.py | 221 +-
tests/python/relay/test_pass_auto_quantize.py | 150 +-
tests/python/relay/test_pass_canonicalize_cast.py | 23 +-
tests/python/relay/test_pass_check_kind.py | 116 +-
.../test_pass_combine_parallel_batch_matmul.py | 58 +-
.../relay/test_pass_combine_parallel_conv2d.py | 94 +-
.../relay/test_pass_combine_parallel_dense.py | 98 +-
tests/python/relay/test_pass_convert_op_layout.py | 950 +++---
.../relay/test_pass_dead_code_elimination.py | 20 +-
.../python/relay/test_pass_defunctionalization.py | 223 +-
tests/python/relay/test_pass_dynamic_to_static.py | 113 +-
.../relay/test_pass_eliminate_common_subexpr.py | 24 +-
tests/python/relay/test_pass_eta_expand.py | 33 +-
tests/python/relay/test_pass_fast_math.py | 16 +-
tests/python/relay/test_pass_fold_constant.py | 38 +-
tests/python/relay/test_pass_fold_scale_axis.py | 662 ++--
tests/python/relay/test_pass_fuse_ops.py | 117 +-
tests/python/relay/test_pass_gradient.py | 145 +-
tests/python/relay/test_pass_inline.py | 70 +-
tests/python/relay/test_pass_lambda_lift.py | 32 +-
tests/python/relay/test_pass_lazy_gradient_init.py | 586 ++--
tests/python/relay/test_pass_legalize.py | 51 +-
tests/python/relay/test_pass_mac_count.py | 78 +-
tests/python/relay/test_pass_manager.py | 72 +-
.../relay/test_pass_merge_compiler_regions.py | 47 +-
tests/python/relay/test_pass_merge_composite.py | 469 ++-
tests/python/relay/test_pass_partial_eval.py | 11 +-
tests/python/relay/test_pass_partition_graph.py | 558 ++--
tests/python/relay/test_pass_qnn_legalize.py | 195 +-
.../relay/test_pass_remove_unused_functions.py | 37 +-
tests/python/relay/test_pass_simplify_expr.py | 4 +-
tests/python/relay/test_pass_simplify_inference.py | 42 +-
tests/python/relay/test_pass_to_a_normal_form.py | 56 +-
.../relay/test_pass_to_basic_block_normal_form.py | 145 +-
tests/python/relay/test_pass_to_cps.py | 33 +-
.../python/relay/test_pass_to_graph_normal_form.py | 15 +-
tests/python/relay/test_pass_unmatched_cases.py | 405 ++-
tests/python/relay/test_pass_vars.py | 58 +-
tests/python/relay/test_py_converter.py | 380 ++-
tests/python/relay/test_simplify_fc_transpose.py | 10 +-
tests/python/relay/test_sparse_dense_convert.py | 22 +-
tests/python/relay/test_type_functor.py | 37 +-
tests/python/relay/test_type_infer.py | 169 +-
tests/python/relay/test_type_solver.py | 37 +-
tests/python/relay/test_typecall.py | 1 +
tests/python/relay/test_vm.py | 252 +-
tests/python/relay/test_vm_serialization.py | 116 +-
tests/python/topi/python/common.py | 1 +
tests/python/topi/python/test_fifo_buffer.py | 71 +-
tests/python/topi/python/test_topi_basic.py | 6 +-
tests/python/topi/python/test_topi_batch_matmul.py | 7 +-
.../topi/python/test_topi_bitserial_conv2d.py | 79 +-
.../topi/python/test_topi_bitserial_conv2d_rasp.py | 53 +-
.../topi/python/test_topi_bitserial_dense.py | 21 +-
tests/python/topi/python/test_topi_bnn.py | 14 +-
tests/python/topi/python/test_topi_broadcast.py | 261 +-
tests/python/topi/python/test_topi_clip.py | 12 +-
tests/python/topi/python/test_topi_conv1d.py | 62 +-
.../topi/python/test_topi_conv1d_transpose_ncw.py | 22 +-
tests/python/topi/python/test_topi_conv2d_NCHWc.py | 230 +-
tests/python/topi/python/test_topi_conv2d_hwcn.py | 19 +-
.../python/test_topi_conv2d_hwnc_tensorcore.py | 69 +-
tests/python/topi/python/test_topi_conv2d_int8.py | 498 +--
tests/python/topi/python/test_topi_conv2d_nchw.py | 197 +-
tests/python/topi/python/test_topi_conv2d_nhwc.py | 15 +-
.../topi/python/test_topi_conv2d_nhwc_pack_int8.py | 12 +-
.../python/test_topi_conv2d_nhwc_tensorcore.py | 51 +-
.../topi/python/test_topi_conv2d_nhwc_winograd.py | 92 +-
.../topi/python/test_topi_conv2d_transpose_nchw.py | 46 +-
.../topi/python/test_topi_conv2d_winograd.py | 73 +-
tests/python/topi/python/test_topi_conv3d_ncdhw.py | 55 +-
tests/python/topi/python/test_topi_conv3d_ndhwc.py | 18 +-
.../python/test_topi_conv3d_ndhwc_tensorcore.py | 54 +-
.../python/test_topi_conv3d_transpose_ncdhw.py | 81 +-
.../topi/python/test_topi_conv3d_winograd.py | 80 +-
tests/python/topi/python/test_topi_correlation.py | 93 +-
.../topi/python/test_topi_deformable_conv2d.py | 51 +-
tests/python/topi/python/test_topi_dense.py | 32 +-
.../topi/python/test_topi_dense_tensorcore.py | 15 +-
.../python/topi/python/test_topi_depth_to_space.py | 20 +-
.../topi/python/test_topi_depthwise_conv2d.py | 232 +-
.../test_topi_depthwise_conv2d_back_input.py | 54 +-
.../test_topi_depthwise_conv2d_back_weight.py | 46 +-
tests/python/topi/python/test_topi_dilate.py | 16 +-
tests/python/topi/python/test_topi_group_conv2d.py | 155 +-
.../python/test_topi_group_conv2d_NCHWc_int8.py | 87 +-
tests/python/topi/python/test_topi_image.py | 186 +-
tests/python/topi/python/test_topi_lrn.py | 7 +-
tests/python/topi/python/test_topi_math.py | 53 +-
tests/python/topi/python/test_topi_matmul.py | 40 +-
tests/python/topi/python/test_topi_reduce.py | 109 +-
tests/python/topi/python/test_topi_relu.py | 20 +-
tests/python/topi/python/test_topi_reorg.py | 11 +-
tests/python/topi/python/test_topi_softmax.py | 14 +-
tests/python/topi/python/test_topi_sort.py | 9 +-
.../python/topi/python/test_topi_space_to_depth.py | 16 +-
tests/python/topi/python/test_topi_sparse.py | 192 +-
tests/python/topi/python/test_topi_tensor.py | 26 +-
tests/python/topi/python/test_topi_transform.py | 291 +-
tests/python/topi/python/test_topi_upsampling.py | 197 +-
tests/python/topi/python/test_topi_util.py | 7 +-
tests/python/topi/python/test_topi_vision.py | 334 +-
.../unittest/test_arith_canonical_simplify.py | 184 +-
.../python/unittest/test_arith_const_int_bound.py | 7 +-
tests/python/unittest/test_arith_deduce_bound.py | 97 +-
.../unittest/test_arith_detect_clip_bound.py | 10 +-
.../unittest/test_arith_detect_linear_equation.py | 23 +-
tests/python/unittest/test_arith_domain_touched.py | 49 +-
tests/python/unittest/test_arith_intset.py | 59 +-
tests/python/unittest/test_arith_modular_set.py | 7 +-
.../python/unittest/test_arith_rewrite_simplify.py | 370 +--
.../unittest/test_arith_solve_linear_equations.py | 57 +-
.../unittest/test_arith_solve_linear_inequality.py | 23 +-
.../python/unittest/test_auto_scheduler_common.py | 149 +-
.../unittest/test_auto_scheduler_compute_dag.py | 2 +-
.../unittest/test_auto_scheduler_cost_model.py | 14 +-
.../test_auto_scheduler_evolutionary_search.py | 21 +-
.../python/unittest/test_auto_scheduler_feature.py | 59 +-
.../unittest/test_auto_scheduler_layout_rewrite.py | 24 +-
.../unittest/test_auto_scheduler_loop_state.py | 56 +-
.../python/unittest/test_auto_scheduler_measure.py | 52 +-
.../unittest/test_auto_scheduler_search_policy.py | 100 +-
.../test_auto_scheduler_sketch_generation.py | 106 +-
tests/python/unittest/test_autotvm_common.py | 31 +-
tests/python/unittest/test_autotvm_database.py | 12 +-
.../unittest/test_autotvm_dispatch_context.py | 2 +-
tests/python/unittest/test_autotvm_executor.py | 10 +-
tests/python/unittest/test_autotvm_feature.py | 65 +-
.../unittest/test_autotvm_flop_calculator.py | 41 +-
.../unittest/test_autotvm_graph_tuner_core.py | 603 ++--
.../unittest/test_autotvm_graph_tuner_utils.py | 35 +-
tests/python/unittest/test_autotvm_index_tuner.py | 2 +-
tests/python/unittest/test_autotvm_measure.py | 29 +-
tests/python/unittest/test_autotvm_record.py | 20 +-
tests/python/unittest/test_autotvm_space.py | 62 +-
.../python/unittest/test_autotvm_xgboost_model.py | 5 +-
tests/python/unittest/test_filter_untracked.py | 189 +-
tests/python/unittest/test_format_si_prefix.py | 24 +-
tests/python/unittest/test_hybrid_error_report.py | 4 +-
tests/python/unittest/test_hybrid_roundtrip.py | 2907 ++++++++++++++++--
tests/python/unittest/test_ir_attrs.py | 6 +-
tests/python/unittest/test_ir_container.py | 47 +-
tests/python/unittest/test_ir_type.py | 21 +-
tests/python/unittest/test_node_reflection.py | 56 +-
tests/python/unittest/test_runtime_container.py | 17 +-
tests/python/unittest/test_runtime_error.py | 12 +-
tests/python/unittest/test_runtime_extension.py | 12 +-
tests/python/unittest/test_runtime_graph.py | 46 +-
tests/python/unittest/test_runtime_graph_debug.py | 72 +-
.../python/unittest/test_runtime_heterogeneous.py | 227 +-
tests/python/unittest/test_runtime_measure.py | 10 +-
tests/python/unittest/test_runtime_micro.py | 110 +-
.../test_runtime_module_based_interface.py | 71 +-
.../python/unittest/test_runtime_module_export.py | 86 +-
tests/python/unittest/test_runtime_module_load.py | 46 +-
tests/python/unittest/test_runtime_ndarray.py | 7 +-
tests/python/unittest/test_runtime_packed_func.py | 144 +-
tests/python/unittest/test_runtime_rpc.py | 141 +-
tests/python/unittest/test_runtime_vm_profiler.py | 4 +-
tests/python/unittest/test_target_codegen_arm.py | 57 +-
tests/python/unittest/test_target_codegen_blob.py | 13 +-
tests/python/unittest/test_target_codegen_bool.py | 21 +-
.../python/unittest/test_target_codegen_c_host.py | 52 +-
.../unittest/test_target_codegen_cross_llvm.py | 23 +-
tests/python/unittest/test_target_codegen_cuda.py | 278 +-
.../python/unittest/test_target_codegen_device.py | 20 +-
.../python/unittest/test_target_codegen_extern.py | 49 +-
.../python/unittest/test_target_codegen_hexagon.py | 56 +-
tests/python/unittest/test_target_codegen_llvm.py | 409 +--
.../python/unittest/test_target_codegen_opencl.py | 60 +-
tests/python/unittest/test_target_codegen_rocm.py | 44 +-
.../unittest/test_target_codegen_static_init.py | 27 +-
.../unittest/test_target_codegen_vm_basic.py | 53 +-
.../python/unittest/test_target_codegen_vulkan.py | 61 +-
tests/python/unittest/test_target_codegen_x86.py | 52 +-
.../unittest/test_target_custom_datatypes.py | 84 +-
tests/python/unittest/test_target_target.py | 44 +-
tests/python/unittest/test_te_autodiff.py | 149 +-
tests/python/unittest/test_te_build_lower.py | 17 +-
tests/python/unittest/test_te_group.py | 6 +-
tests/python/unittest/test_te_hybrid_script.py | 333 +-
tests/python/unittest/test_te_schedule.py | 179 +-
.../unittest/test_te_schedule_bound_inference.py | 250 +-
.../test_te_schedule_bound_inference_tiling.py | 14 +-
tests/python/unittest/test_te_schedule_graph.py | 72 +-
tests/python/unittest/test_te_schedule_lstm.py | 43 +-
tests/python/unittest/test_te_schedule_ops.py | 331 +-
...te_schedule_postproc_rewrite_for_tensor_core.py | 70 +-
.../unittest/test_te_schedule_tensor_core.py | 330 +-
.../python/unittest/test_te_schedule_tensorize.py | 183 +-
tests/python/unittest/test_te_tag.py | 79 +-
tests/python/unittest/test_te_tensor.py | 293 +-
tests/python/unittest/test_te_tensor_overload.py | 62 +-
tests/python/unittest/test_te_verify_compute.py | 105 +-
tests/python/unittest/test_testing.py | 30 +-
.../unittest/test_tir_analysis_expr_deep_equal.py | 5 +-
tests/python/unittest/test_tir_analysis_usedef.py | 6 +-
.../unittest/test_tir_analysis_verify_gpu_code.py | 245 +-
.../unittest/test_tir_analysis_verify_memory.py | 23 +-
.../unittest/test_tir_analysis_verify_ssa.py | 19 +-
tests/python/unittest/test_tir_buffer.py | 112 +-
tests/python/unittest/test_tir_constructor.py | 44 +-
tests/python/unittest/test_tir_data_layout.py | 5 +
tests/python/unittest/test_tir_intrin.py | 103 +-
tests/python/unittest/test_tir_ir_builder.py | 52 +-
tests/python/unittest/test_tir_nodes.py | 269 +-
tests/python/unittest/test_tir_ops.py | 85 +-
.../unittest/test_tir_stmt_functor_ir_transform.py | 3 +
.../unittest/test_tir_structural_equal_hash.py | 51 +-
.../unittest/test_tir_transform_bf16_legalize.py | 140 +-
.../test_tir_transform_combine_context_call.py | 18 +-
.../unittest/test_tir_transform_coproc_sync.py | 21 +-
.../test_tir_transform_decorate_device_scope.py | 2 +
.../python/unittest/test_tir_transform_hoist_if.py | 440 +--
.../test_tir_transform_inject_copy_intrin.py | 39 +-
.../test_tir_transform_inject_double_buffer.py | 17 +-
.../test_tir_transform_inject_virtual_thread.py | 53 +-
...test_tir_transform_instrument_bound_checkers.py | 387 ++-
.../unittest/test_tir_transform_lift_attr_scope.py | 2 +
.../unittest/test_tir_transform_loop_partition.py | 377 ++-
.../unittest/test_tir_transform_lower_intrin.py | 55 +-
.../test_tir_transform_lower_warp_memory.py | 75 +-
.../unittest/test_tir_transform_make_packed_api.py | 22 +-
.../unittest/test_tir_transform_narrow_datatype.py | 164 +-
.../unittest/test_tir_transform_prim_func_pass.py | 23 +-
.../unittest/test_tir_transform_remove_no_op.py | 50 +-
.../test_tir_transform_rewrite_unsafe_select.py | 14 +-
.../python/unittest/test_tir_transform_simplify.py | 38 +-
.../unittest/test_tir_transform_storage_flatten.py | 78 +-
.../unittest/test_tir_transform_storage_rewrite.py | 187 +-
.../unittest/test_tir_transform_thread_sync.py | 18 +-
.../unittest/test_tir_transform_unroll_loop.py | 50 +-
.../unittest/test_tir_transform_vectorize.py | 32 +-
tutorials/autotvm/tune_conv2d_cuda.py | 53 +-
tutorials/autotvm/tune_relay_arm.py | 132 +-
tutorials/autotvm/tune_relay_cuda.py | 137 +-
tutorials/autotvm/tune_relay_mobile_gpu.py | 136 +-
tutorials/autotvm/tune_relay_x86.py | 104 +-
tutorials/autotvm/tune_simple_template.py | 54 +-
tutorials/dev/low_level_custom_pass.py | 18 +-
tutorials/dev/use_pass_infra.py | 39 +-
tutorials/frontend/build_gcn.py | 120 +-
tutorials/frontend/deploy_model_on_android.py | 96 +-
tutorials/frontend/deploy_model_on_rasp.py | 46 +-
tutorials/frontend/deploy_prequantized.py | 38 +-
tutorials/frontend/deploy_prequantized_tflite.py | 47 +-
tutorials/frontend/deploy_quantized.py | 26 +-
tutorials/frontend/deploy_sparse.py | 30 +-
tutorials/frontend/deploy_ssd_gluoncv.py | 38 +-
tutorials/frontend/from_caffe2.py | 48 +-
tutorials/frontend/from_coreml.py | 41 +-
tutorials/frontend/from_darknet.py | 118 +-
tutorials/frontend/from_keras.py | 54 +-
tutorials/frontend/from_mxnet.py | 55 +-
tutorials/frontend/from_onnx.py | 34 +-
tutorials/frontend/from_pytorch.py | 75 +-
tutorials/frontend/from_tensorflow.py | 85 +-
tutorials/frontend/from_tflite.py | 37 +-
tutorials/frontend/using_external_lib.py | 13 +-
tutorials/get_started/cross_compilation_and_rpc.py | 26 +-
tutorials/get_started/relay_quick_start.py | 3 +-
tutorials/get_started/tensor_expr_get_started.py | 22 +-
tutorials/language/extern_op.py | 37 +-
tutorials/language/intrin_math.py | 11 +-
tutorials/language/reduction.py | 33 +-
tutorials/language/scan.py | 14 +-
tutorials/language/schedule_primitives.py | 58 +-
tutorials/language/tedd.py | 24 +-
tutorials/language/tensorize.py | 107 +-
tutorials/language/tuple_inputs.py | 30 +-
tutorials/micro/micro_tflite.py | 20 +-
tutorials/optimize/opt_conv_cuda.py | 39 +-
tutorials/optimize/opt_conv_tensorcore.py | 233 +-
tutorials/optimize/opt_gemm.py | 99 +-
tutorials/optimize/opt_matmul_auto_tensorcore.py | 403 +--
tutorials/topi/intro_topi.py | 4 +-
version.py | 23 +-
vta/python/vta/bitstream.py | 18 +-
vta/python/vta/build_module.py | 35 +-
vta/python/vta/environment.py | 100 +-
vta/python/vta/exec/rpc_server.py | 42 +-
vta/python/vta/intrin.py | 108 +-
vta/python/vta/libinfo.py | 20 +-
vta/python/vta/program_bitstream.py | 26 +-
vta/python/vta/rpc_client.py | 3 +-
vta/python/vta/testing/__init__.py | 2 +-
vta/python/vta/testing/simulator.py | 4 +-
vta/python/vta/testing/util.py | 10 +-
vta/python/vta/top/bitpack.py | 11 +-
vta/python/vta/top/graphpack.py | 283 +-
vta/python/vta/top/op.py | 28 +-
vta/python/vta/top/util.py | 1 +
vta/python/vta/top/vta_conv2d.py | 66 +-
vta/python/vta/top/vta_conv2d_transpose.py | 74 +-
vta/python/vta/top/vta_dense.py | 42 +-
vta/python/vta/top/vta_group_conv2d.py | 85 +-
vta/python/vta/transform.py | 457 ++-
vta/scripts/tune_conv2d.py | 89 +-
vta/scripts/tune_conv2d_transpose.py | 73 +-
vta/scripts/tune_dense.py | 60 +-
vta/scripts/tune_group_conv2d.py | 92 +-
vta/scripts/tune_resnet.py | 172 +-
vta/tests/python/de10nano/test_program_rpc.py | 6 +-
.../python/integration/test_benchmark_gemm.py | 177 +-
.../integration/test_benchmark_topi_conv2d.py | 154 +-
.../test_benchmark_topi_conv2d_transpose.py | 133 +-
.../integration/test_benchmark_topi_dense.py | 61 +-
.../test_benchmark_topi_group_conv2d.py | 158 +-
vta/tests/python/pynq/test_program_rpc.py | 6 +-
vta/tests/python/unittest/test_environment.py | 1 +
vta/tests/python/unittest/test_vta_insn.py | 290 +-
vta/tutorials/autotvm/tune_relay_vta.py | 153 +-
vta/tutorials/frontend/deploy_classification.py | 36 +-
vta/tutorials/frontend/legacy/deploy_detection.py | 138 +-
vta/tutorials/matrix_multiply.py | 42 +-
vta/tutorials/optimize/convolution_opt.py | 149 +-
vta/tutorials/optimize/matrix_multiply_opt.py | 95 +-
vta/tutorials/vta_get_started.py | 23 +-
web/tests/python/prepare_test_libs.py | 4 +-
web/tests/python/webgpu_rpc_test.py | 14 +-
web/tests/python/websock_rpc_test.py | 28 +-
1013 files changed, 60636 insertions(+), 43149 deletions(-)
copy python/tvm/autotvm/graph_tuner/__init__.py => pyproject.toml (60%)