mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
### Description <!-- Describe your changes. --> Update various test projects to .net8 from EOL frameworks. Replace the Xamarin based Android and iOS test projects with a MAUI based project that uses .net 8. Add new CoreML flags to C# bindings ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Remove usage of EOL frameworks.
16 lines
467 B
C#
16 lines
467 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
namespace Microsoft.ML.OnnxRuntime.Tests.MAUI
|
|
{
|
|
public class PlatformTests
|
|
{
|
|
// All the 'AppendExecutionProvider' calls will throw if unsuccessful
|
|
[Fact(DisplayName = "EnableNNAPI")]
|
|
public void TestEnableNNAPI()
|
|
{
|
|
var opt = new SessionOptions();
|
|
opt.AppendExecutionProvider_Nnapi();
|
|
}
|
|
}
|
|
}
|