2 writes to Width
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionMetrics.cs (2)
328obj.Width = (boxes[boxIdx++] - obj.Left + 1); 370obj.Width = (boxes[boxIdx++] - obj.Left + 1);
4 references to Width
Microsoft.ML.TorchSharp (4)
AutoFormerV2\ObjectDetectionMetrics.cs (4)
164float xright = Math.Min(bbox.Left + bbox.Width, gt.Left + gt.Width); 173float sizePredict = bbox.Width * bbox.Height; 174float sizeGroundTrue = gt.Width * gt.Height;