onnxruntime/csharp/test
Dmitri Smirnov 322237f482
[C#] Implement OrtValue APIs (#16206)
### Description

Expose `OrtValue` class API as first-class citizen.
Make it simular with C++ API.
Enable safe direct native memory access.
Make string tensor manipulation more efficient.
Avoid intermediate structures such as `NamedOnnxValue`,
`DisposableNamedOnnxvalue` and etc.

Provide more examples with `IOBinding`, although `OrtValue` API
potentially makes `IOBinding` redundant for most of scenarios, since
`OrtValue` can be created on top of any memory.

Run all the pre-trained models now with `OrtValue` API as well.
Obsolete `OrtExternalMemory class`. Obsolete IOBinding API that takes
`FixedBufferOnnxValue`.

### Motivation and Context
Make the API efficient and uniform with C++.

This aspires to address: 
https://github.com/microsoft/onnxruntime/issues/14918
https://github.com/microsoft/onnxruntime/issues/15381

Cc: @Craigacp
2023-06-29 08:59:23 -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
Microsoft.ML.OnnxRuntime.EndToEndTests [C#] Add missing rocm csharp api (#15540) 2023-05-18 08:15:19 +08:00
Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile
Microsoft.ML.OnnxRuntime.Tests.Common [C#] Implement OrtValue APIs (#16206) 2023-06-29 08:59:23 -07:00
Microsoft.ML.OnnxRuntime.Tests.Devices
Microsoft.ML.OnnxRuntime.Tests.Droid Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
Microsoft.ML.OnnxRuntime.Tests.iOS
Microsoft.ML.OnnxRuntime.Tests.NetCoreApp [C#] Implement OrtValue APIs (#16206) 2023-06-29 08:59:23 -07:00