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