7 references to CreateFromStream
Microsoft.ML.ImageAnalytics (1)
ImageLoader.cs (1)
253
dst = MLImage.
CreateFromStream
(ms);
Microsoft.ML.Tests (6)
ImagesTests.cs (6)
1236
using MLImage image2 = MLImage.
CreateFromStream
(imageStream);
1266
Assert.Throws<ArgumentNullException>(() => MLImage.
CreateFromStream
(null));
1267
Assert.Throws<ArgumentException>(() => MLImage.
CreateFromStream
(new MemoryStream(new byte[10])));
1337
MLImage image2 = MLImage.
CreateFromStream
(stream);
1345
image2 = MLImage.
CreateFromStream
(nonSeekableStream);
1368
image2 = MLImage.
CreateFromStream
(ms);