Пример #1
0
        public static async Task <OnnxModel> CreateOnnxModel()
        {
            var modelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets//ModelsAI//model.onnx"));

            return(await OnnxModel.CreateOnnxModel(modelFile));
        }
Пример #2
0
 public async Task Init()
 {
     onnxmodel = await OnnxModel.CreateOnnxModel();
 }