3 instantiations of ImageDataPoint
Microsoft.ML.Tests (3)
ImagesTests.cs (3)
233var images = new List<ImageDataPoint>() { new ImageDataPoint(10, 10, red: 0, green: 0, blue: 255), new ImageDataPoint(10, 10, red: 255, green: 0, blue: 0) };
277var singleImage = new ImageDataPoint(17, 36, red: 255, green: 192, blue: 203); // Pink color (255, 192, 203)
7 references to ImageDataPoint
Microsoft.ML.Tests (7)
ImagesTests.cs (7)
233var images = new List<ImageDataPoint>() { new ImageDataPoint(10, 10, red: 0, green: 0, blue: 255), new ImageDataPoint(10, 10, red: 255, green: 0, blue: 0) };
248var transformedDataPoints = ML.Data.CreateEnumerable<ImageDataPoint>(transformedData, false);
250foreach (var dataPoint in transformedDataPoints)
276var engine = ML.Model.CreatePredictionEngine<ImageDataPoint, ImageDataPoint>(model);
277var singleImage = new ImageDataPoint(17, 36, red: 255, green: 192, blue: 203); // Pink color (255, 192, 203)
278var transformedSingleImage = engine.Predict(singleImage);