mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +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
349 B
C#
15 lines
349 B
C#
using Android.App;
|
|
using Android.Runtime;
|
|
|
|
namespace Microsoft.ML.OnnxRuntime.InferenceSample.Maui;
|
|
|
|
[Application]
|
|
public class MainApplication : MauiApplication
|
|
{
|
|
public MainApplication(IntPtr handle, JniHandleOwnership ownership)
|
|
: base(handle, ownership)
|
|
{
|
|
}
|
|
|
|
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
|
}
|