onnxruntime/csharp/src/Microsoft.ML.OnnxRuntime
yf711 8b9065a396
Add getter/setter of C# OrtEnv log level (#13402)
### Description
* Add getter/setter to access and update C# OrtEnv log level
* Add C API about updating ort env with custom log level to support the
setter above (Following [pybind
implementation](952c99304a/onnxruntime/python/onnxruntime_pybind_state.cc (L923-L924)))
* Add test case to verify getter & setter


### Motivation and Context
* For C++/Python, the log level can be adjusted via OrtEnv, and this
feature is missing in C# binding
2022-11-04 21:46:00 -07:00
..
targets Add yml file for Snpe EP build (#13494) 2022-10-28 19:47:50 -07:00
Tensors C#: Avoid inefficient DenseTensor ctor in ToTensor extensions (#10240) 2022-01-19 07:43:44 +10:00
Training Training API to export the eval model to an inference model (#13345) 2022-10-27 09:34:01 -07:00
AssemblyInfo.shared.cs Add .net6 support to the C# nuget package. (#11908) 2022-06-22 08:08:24 +10:00
DisposableNamedOnnxValue.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
Exceptions.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
FixedBufferOnnxValue.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
InferenceSession.shared.cs Csharp bindings for on-device training APIs (#12404) 2022-09-02 13:13:48 -07:00
Microsoft.ML.OnnxRuntime.csproj Csharp bindings for on-device training APIs (#12404) 2022-09-02 13:13:48 -07:00
Microsoft.ML.OnnxRuntime.sln Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
NamedOnnxValue.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
NativeApiStatus.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
NativeMethods.shared.cs Add getter/setter of C# OrtEnv log level (#13402) 2022-11-04 21:46:00 -07:00
NativeOnnxTensorMemory.shared.cs Use IntPtr instead of int conversion for pointer in Memory.Pin() (#10485) 2022-02-16 14:49:56 -08:00
NativeOnnxValueHelper.shared.cs Csharp bindings for on-device training APIs (#12404) 2022-09-02 13:13:48 -07:00
OnnxRuntime.shared.cs Add getter/setter of C# OrtEnv log level (#13402) 2022-11-04 21:46:00 -07:00
OrtAllocator.shared.cs Allow users to bind arbitrary memory using raw pointers (#10428) 2022-02-01 18:09:24 -08:00
OrtIoBinding.shared.cs Allow users to bind arbitrary memory using raw pointers (#10428) 2022-02-01 18:09:24 -08:00
OrtLoggingLevel.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
OrtValue.shared.cs Allow users to bind arbitrary memory using raw pointers (#10428) 2022-02-01 18:09:24 -08:00
PrepackedWeightsContainer.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
ProviderOptions.shared.cs Replace 'master' branch ref to 'main' in the code (#12547) 2022-08-22 10:48:12 -07:00
RunOptions.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00
SessionOptions.shared.cs Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
SessionOptionsContainer.shared.cs Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00