shouldRescore
A Boolean that indicates whether the layer scales the object confidence loss by the intersection over union (IOU) overlap.
Declaration
var shouldRescore: Bool { get set }Discussion
If true, the layer scales the loss by the IOU overlap; otherwise, the layer doesn’t scale the loss by the IOU overlap. The default value is true.
Rescore pertains to multiplying the confidence groundTruth with the intersection over union (IOU) of the predicted bounding box and the groundTruth boundingBox.