onnxruntime/tools
Justin Chu a1f9847b23
[Fix] Add the extra param to match gelu in PyTorch in the contrib symbolic function (#11318)
Description:

Add the extra param to match gelu in PyTorch in the contrib symbolic function

Motivation and Context

Why is this change required? What problem does it solve?
The symbolic function in /onnxruntime/python/tools/pytorch_export_contrib_ops.py is missing a recently added parameter approximate. We add this parameter and use the exporter defined gelu if approximate is "tanh".
2022-05-04 10:36:38 -07:00
..
android_custom_build Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
ci_build [Fix] Add the extra param to match gelu in PyTorch in the contrib symbolic function (#11318) 2022-05-04 10:36:38 -07:00
doc Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
natvis Refactor transformers and other code to reduce memory allocation calls (#10523) 2022-02-24 16:17:14 -08:00
nuget Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
perf_view fix json format (#11046) 2022-03-30 16:15:33 -07:00
python Set black's target version (#11370) 2022-04-27 14:52:19 -07:00