mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +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
20 lines
No EOL
395 B
C#
20 lines
No EOL
395 B
C#
using Xamarin.Forms;
|
|
|
|
namespace Microsoft.ML.OnnxRuntime.InferenceSample.Forms
|
|
{
|
|
public partial class App : Application
|
|
{
|
|
public App()
|
|
{
|
|
InitializeComponent();
|
|
|
|
MainPage = new MainPage();
|
|
}
|
|
|
|
protected override void OnStart() {}
|
|
|
|
protected override void OnSleep() {}
|
|
|
|
protected override void OnResume() {}
|
|
}
|
|
} |