mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
Add csharp\sample\InferenceSample\Microsoft.ML.OnnxRuntime.InferenceSample.Maui so we have an equivalent setup for MAUI as for the other platforms. This provides a setup to do some basic local testing of using an InferenceSession in a MAUI app.
15 lines
378 B
C#
15 lines
378 B
C#
using ObjCRuntime;
|
|
using UIKit;
|
|
|
|
namespace Microsoft.ML.OnnxRuntime.InferenceSample.Maui;
|
|
|
|
public class Program
|
|
{
|
|
// This is the main entry point of the application.
|
|
static void Main(string[] args)
|
|
{
|
|
// if you want to use a different Application Delegate class from "AppDelegate"
|
|
// you can specify it here.
|
|
UIApplication.Main(args, null, typeof(AppDelegate));
|
|
}
|
|
}
|