onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests.Common
Dmitri Smirnov 896a963492
Adust GetVersionString() GetBuildInfoString() signatures and move them to OrtApi (#15921)
### Description

This PR partially reverts changes introduced in
https://github.com/microsoft/onnxruntime/pull/15643

We make two API return std::string always in UTF-8.

We also move the entry points from OrtApiBase to OrtApi to make them
versioned.

### Motivation and Context

`GetVersionString` always returns x.y.z numbers that are not subject to
internationalization.
`GetBuildInfoString` can hold international chars, but UTF-8 should be
fine to contain those.
We prefix them with u8"" in case the compiler default charset is not
UTF-8.
Furthermore, creating platform dependent APIs is discouraged.
`ORTCHAR_T` is platform dependent and was created for paths only.
On non-unix platforms would still produce `std::string` that can only
contain UTF-8

The API was introduced after the latest release, and can still be
adjusted.
2023-05-13 13:45:07 -07:00
..
Tensors Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
AssemblyInfo.cs
InferenceTest.cs Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
Microsoft.ML.OnnxRuntime.Tests.Common.csproj Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
OnnxData.cs Implement Optional Metadata support and C# test support (#15314) 2023-04-11 09:41:59 -07:00
OnnxMl.cs update OnnxMl.cs (#15702) 2023-04-28 11:20:29 -07:00
OrtEnvTests.cs Adust GetVersionString() GetBuildInfoString() signatures and move them to OrtApi (#15921) 2023-05-13 13:45:07 -07:00
OrtIoBindingAllocationTest.cs
TestDataLoader.cs Various fixes to the CSharp setup (#15782) 2023-05-05 14:27:30 +10:00
TrainingTest.cs C# training api updates for on device training (#15720) 2023-05-01 10:01:38 -07:00