3 references to width
Microsoft.ML.Samples (3)
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (3)
92
[ImageType(height,
width
)]
108
byte[] imageData = new byte[
width
* height * 4]; // 4 for the red, green, blue and alpha colors
118
Image = MLImage.CreateFromPixels(
width
, height, MLPixelFormat.Bgra32, imageData);