public static List <PredResult> Cifar10Test(Cifar10Model model) { string imagePath = string.Format("{0}images\\dog_cls.jpg", AppDomain.CurrentDomain.BaseDirectory); Cifar10 app = new Cifar10(model); app.LoadModel(); return(app.Predict(imagePath)); }