3 references to Width
Microsoft.ML.OnnxTransformerTest (3)
OnnxTransformTests.cs (3)
502
[ImageType(Height,
Width
)]
518
byte[] imageData = new byte[
Width
* Height * 4]; // 4 for the red, green, blue and alpha colors
528
Image = MLImage.CreateFromPixels(
Width
, Height, MLPixelFormat.Bgra32, imageData);