[REFACTOR][RELAY] Replace build_config with PassContext (#5698)
authorZhi <5145158+zhiics@users.noreply.github.com>
Sat, 30 May 2020 04:59:35 +0000 (21:59 -0700)
committerGitHub <noreply@github.com>
Sat, 30 May 2020 04:59:35 +0000 (21:59 -0700)
commitc55ed371693740291b82cc8d88bf09c830d029c7
treed7ad368908dac085e11ce59a126ace61846fa5b9
parent910edef099705926b7af14aa3ae7b4c33920ace9
[REFACTOR][RELAY] Replace build_config with PassContext (#5698)
72 files changed:
apps/android_camera/models/prepare_model.py
apps/benchmark/arm_cpu_imagenet_bench.py
apps/benchmark/gpu_imagenet_bench.py
apps/benchmark/mobile_gpu_imagenet_bench.py
apps/bundle_deploy/build_model.py
apps/sgx/src/build_model.py
golang/sample/gen_mobilenet_lib.py
python/tvm/relay/frontend/common.py
python/tvm/relay/quantize/_calibrate.py
python/tvm/relay/transform/transform.py
rust/frontend/examples/resnet/src/build_resnet.py
src/relay/backend/build_module.cc
tests/cpp/relay_transform_sequential.cc
tests/python/frontend/caffe2/test_forward.py
tests/python/frontend/coreml/test_forward.py
tests/python/frontend/keras/test_forward.py
tests/python/frontend/mxnet/test_forward.py
tests/python/frontend/mxnet/test_qnn_ops_utils.py
tests/python/frontend/onnx/test_forward.py
tests/python/frontend/pytorch/qnn_test.py
tests/python/frontend/pytorch/test_forward.py
tests/python/frontend/tensorflow/test_bn_dynamic.py
tests/python/frontend/tensorflow/test_forward.py
tests/python/frontend/tflite/test_forward.py
tests/python/nightly/quantization/test_quantization_accuracy.py
tests/python/relay/benchmarking/benchmark_vm.py
tests/python/relay/test_backend_compile_engine.py
tests/python/relay/test_backend_graph_runtime.py
tests/python/relay/test_cpp_build_module.py
tests/python/relay/test_external_codegen.py
tests/python/relay/test_memory_passes.py
tests/python/relay/test_op_fast_math.py
tests/python/relay/test_op_level2.py
tests/python/relay/test_op_qnn_conv2d.py
tests/python/relay/test_op_qnn_dense.py
tests/python/relay/test_op_qnn_dequantize.py
tests/python/relay/test_op_qnn_quantize.py
tests/python/relay/test_op_qnn_requantize.py
tests/python/relay/test_pass_annotate_target.py
tests/python/relay/test_pass_fast_math.py
tests/python/relay/test_pass_fold_constant.py
tests/python/relay/test_pass_manager.py
tests/python/relay/test_pass_partition_graph.py
tests/python/relay/test_simplify_fc_transpose.py
tests/python/relay/test_sparse_dense_convert.py
tests/python/unittest/test_runtime_module_export.py
tests/python/unittest/test_target_codegen_blob.py
tutorials/autotvm/tune_relay_arm.py
tutorials/autotvm/tune_relay_cuda.py
tutorials/autotvm/tune_relay_mobile_gpu.py
tutorials/autotvm/tune_relay_x86.py
tutorials/dev/relay_pass_infra.py
tutorials/frontend/build_gcn.py
tutorials/frontend/deploy_model_on_android.py
tutorials/frontend/deploy_model_on_rasp.py
tutorials/frontend/deploy_prequantized.py
tutorials/frontend/deploy_prequantized_tflite.py
tutorials/frontend/deploy_ssd_gluoncv.py
tutorials/frontend/from_caffe2.py
tutorials/frontend/from_coreml.py
tutorials/frontend/from_darknet.py
tutorials/frontend/from_keras.py
tutorials/frontend/from_mxnet.py
tutorials/frontend/from_onnx.py
tutorials/frontend/from_pytorch.py
tutorials/frontend/from_tensorflow.py
tutorials/frontend/from_tflite.py
tutorials/relay_quick_start.py
vta/scripts/tune_resnet.py
vta/tutorials/autotvm/tune_relay_vta.py
vta/tutorials/frontend/deploy_classification.py
vta/tutorials/frontend/deploy_detection.py