onnxruntime/tools/python
Gary Miguel 47435311f4
Include pytorch_export_contrib_ops in inference builds (#8878)
* Include pytorch_export_contrib_ops in inference builds

Rename / move it from tools/python/register_custom_ops_pytorch_exporter
to onnxruntime/python/tools/pytorch_export_contrib_ops.

Rationale for inclusion in inference builds:
This code is potentially useful for anyone using ORT, not just training.

Rationale for new name:
"Contrib op" is the nomenclature used within ORT to refer to the set of
ops that are not in the standard op set but are included by default with
ORT. This is more specific than "custom op", which is what the PyTorch
exporter uses to refer to any non-standard op.

Step 1 of addressing #8818. After this is merged I will update the docs.

* Enable test_pytorch_export_contrib_ops.py in CI

Fixes AB#1342330
2021-09-02 14:26:58 -07:00
..
util Reduce binary size of strided copy used by Concat (#8913) 2021-09-02 08:19:20 +10:00
__init__.py
convert_onnx_models_to_ort.py Android package infrastructure (#7430) 2021-04-30 14:23:54 +10:00
create_reduced_build_config.py Support specifying globally allowed types from build script (#6677) 2021-02-22 14:05:00 -08:00
dump_ort_model.py Add script to dump initializer, NodeArg, Node and subgraph info from an ORT format model (#7516) 2021-05-04 08:34:35 +10:00
dump_subgraphs.py
example_operator_perf_test.py
FindOptimizerOpsetVersionUpdatesRequired.py
gen_contrib_doc.py Update the operator documentation generation (#7787) 2021-06-02 17:47:40 +10:00
gen_opkernel_doc.py Update the operator documentation generation (#7787) 2021-06-02 17:47:40 +10:00
gen_ort_mobile_pkg_doc.py Add supported operators/types documentation for the ORT Mobile package (#7807) 2021-05-26 15:57:40 +10:00
get_submodules.py
onnx_test_data_utils.py
ort_test_dir_utils.py Add detailed assertion error message (#7232) 2021-04-05 10:05:40 -07:00
PythonTools.md
remove_initializer_from_input.py
run_android_emulator.py Add support for running Android emulator from build.py on Windows. (#6317) 2021-01-13 19:21:49 -08:00
sparsify_initializers.py Support of sparse initializers with smaller indices data type (#8834) 2021-08-27 14:02:48 -07:00
update_version.py allow update_version.py to update new npm packages (#7746) 2021-05-18 16:15:19 -07:00