onnxruntime/csharp/test
Dmitri Smirnov a66af390fa
[C#] Allow passing various options when creating singleton Environment object. (#14723)
### Description
Re-work OrtEnv class so we can pass various options when creating the
environment such as:
- logId
- initial logging level
- thread options
- user supplied logging function

Create the default instance when SessionOptions are instantiated as
users often forget to do so.

### Motivation and Context
We lack this capability.
Inspired by
https://github.com/microsoft/onnxruntime/pull/13822
https://github.com/microsoft/onnxruntime/pull/13951
https://github.com/microsoft/onnxruntime/pull/11593


Cc: @thoron

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-04-18 21:49:55 -07: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
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 Implement Optional Metadata support and C# test support (#15314) 2023-04-11 09:41:59 -07:00
Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/EndToEndTests.Mobile.Automation (#13884) 2022-12-09 13:07:05 -08:00
Microsoft.ML.OnnxRuntime.Tests.Common [C#] Allow passing various options when creating singleton Environment object. (#14723) 2023-04-18 21:49:55 -07:00
Microsoft.ML.OnnxRuntime.Tests.Devices
Microsoft.ML.OnnxRuntime.Tests.Droid Add csharp docfx (#12596) 2022-08-25 09:51:32 -05:00
Microsoft.ML.OnnxRuntime.Tests.iOS Add .net6 support to the C# nuget package. (#11908) 2022-06-22 08:08:24 +10:00
Microsoft.ML.OnnxRuntime.Tests.NetCoreApp [C#] Allow passing various options when creating singleton Environment object. (#14723) 2023-04-18 21:49:55 -07:00