onnxruntime/csharp/test
pengwa ae92d593c0
ONNX Gelu Op in Opset 20 (#19560)
### ONNX Gelu Op in Opset 20

Refactor code to support MSDomain Gelu and ONNX Gelu-opset20 Op

1. Move CPU-GELU implmentation from
`onnxruntime/contrib_ops/cpu/activations.h/cc` to
`onnxruntime/core/providers/cpu/tensor/gelu.h/cc`, as the implementation
for approximate attribute to be 'none'.
2. Dumplicate some logic from
`onnxruntime/contrib_ops/cpu/bert/bias_gelu.cc` to
`onnxruntime/core/providers/cpu/tensor/gelu.h/cc`, as the implementation
for approximate attribute to be 'tanh'.
3. Register ONNX domain Gelu CPU kernel from opset 20 in
`onnxruntime/core/providers/cpu/cpu_execution_provider.cc`.
4. Move `onnxruntime/contrib_ops/cuda/bert/fast_gelu_impl.h/cu` to
`onnxruntime/core/providers/cuda/tensor/gelu_impl.h` and
`onnxruntime/core/providers/cuda/tensor/gelu_approximate_impl.cu`
respectively, as the implementation for approximate attribute to be
'tanh'.
5. Implement the logic for approximate attribute to be 'none' in
`onnxruntime/core/providers/cuda/tensor/gelu_impl.cu`.
6. Register ONNX domain Gelu CUDA kernel from opset 20 in
`onnxruntime/core/providers/cuda/cuda_execution_provider.cc`.
7. ROCM ep related changes. 
8. Enrich the tests for ONNX domain Gelu in
`onnxruntime/test/providers/cpu/activation/activation_op_test.cc`.
2024-02-23 11:05:16 +08:00
..
Microsoft.AI.MachineLearning.Tests Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
Microsoft.AI.MachineLearning.Tests.DotNet5_0 Enable Microsoft.Ai.MachineLearning package to work on .NET5 down to 17763 Windows SDK (#7522) 2021-05-01 00:56:36 -07:00
Microsoft.AI.MachineLearning.Tests.Uwp Fix Microsoft.AI.MachineLearning NuGet App failure with multiple binaries copied to same destination (#10076) 2021-12-21 12:34:03 -08:00
Microsoft.ML.OnnxRuntime.EndToEndTests Update c# dependencies (#18995) 2024-01-04 10:41:28 -08:00
Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile Update c# dependencies (#18995) 2024-01-04 10:41:28 -08:00
Microsoft.ML.OnnxRuntime.Tests.Common Add support for a collection of OrtValue as inputs and outputs to C# TrainingSession (#19048) 2024-01-25 21:55:36 -08:00
Microsoft.ML.OnnxRuntime.Tests.Devices Update c# dependencies (#18995) 2024-01-04 10:41:28 -08:00
Microsoft.ML.OnnxRuntime.Tests.Droid Update c# dependencies (#18995) 2024-01-04 10:41:28 -08:00
Microsoft.ML.OnnxRuntime.Tests.iOS Update c# dependencies (#18995) 2024-01-04 10:41:28 -08:00
Microsoft.ML.OnnxRuntime.Tests.NetCoreApp ONNX Gelu Op in Opset 20 (#19560) 2024-02-23 11:05:16 +08:00