Skip to main content

postprocess_boxes_multilabel_quant

Function postprocess_boxes_multilabel_quant 

Source
pub fn postprocess_boxes_multilabel_quant<B: BBoxTypeTrait, Boxes: PrimInt + AsPrimitive<f32> + Send + Sync, Scores: PrimInt + AsPrimitive<f32> + Send + Sync>(
    threshold: Scores,
    boxes: ArrayView2<'_, Boxes>,
    scores: ArrayView2<'_, Scores>,
    quant_boxes: Quantization,
) -> DecoderResult<Vec<DetectBoxQuantized<Scores>>>
Expand description

postprocess_boxes_multilabel_index_quant without anchor indices.

ยงErrors

DecoderError::InvalidShape unless boxes are [N, 4] and scores [N, C].