mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
Add Xamarin support to the ORT nuget packages. - Update C# code to support Xamarin builds for iOS and Android - refactor some things to split out common code - include iOS and Android ORT native shared library in native nuget package
15 lines
No EOL
418 B
C#
15 lines
No EOL
418 B
C#
using Xunit;
|
|
|
|
namespace Microsoft.ML.OnnxRuntime.Tests
|
|
{
|
|
public partial class InferenceTest
|
|
{
|
|
[Fact(DisplayName = "TestPlatformSessionOptions")]
|
|
public void TestPlatformSessionOptions()
|
|
{
|
|
var opt = new SessionOptions();
|
|
opt.AppendExecutionProvider_CoreML(CoreMLFlags.COREML_FLAG_ONLY_ENABLE_DEVICE_WITH_ANE);
|
|
Assert.NotNull(opt);
|
|
}
|
|
}
|
|
} |