InferenceTest.ios.cs 385 Bytes
Newer Older
gaoqiong's avatar
gaoqiong committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
        }
    }
}