1 reference to CalcIou
Microsoft.ML.TorchSharp (1)
Loss\FocalLoss.cs (1)
76
var iou =
CalcIou
(anchors[0, RangeUtil.ToTensorIndex(..), RangeUtil.ToTensorIndex(..)], bboxAnnotation[RangeUtil.ToTensorIndex(..), RangeUtil.ToTensorIndex(..4)]); // num_anchors x num_annotations