public static async Task <OnnxModel> CreateOnnxModel() { var modelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets//ModelsAI//model.onnx")); return(await OnnxModel.CreateOnnxModel(modelFile)); }
public async Task Init() { onnxmodel = await OnnxModel.CreateOnnxModel(); }