7 references to CreateFromFile
Microsoft.ML.Tests (7)
ImagesTests.cs (7)
1165
private static MLImage LoadImageFromFile(string imagePath) => MLImage.
CreateFromFile
(imagePath);
1234
using MLImage image1 = MLImage.
CreateFromFile
(dataFile);
1264
Assert.Throws<ArgumentNullException>(() => MLImage.
CreateFromFile
(null));
1265
Assert.Throws<ArgumentException>(() => MLImage.
CreateFromFile
("This is Invalid Path"));
1280
using MLImage image1 = MLImage.
CreateFromFile
(dataFile);
1290
using MLImage image2 = MLImage.
CreateFromFile
(imageTempPath);
1333
using MLImage image1 = MLImage.
CreateFromFile
(imageFile);