For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo struct
NonMaximumSuppression
struct NonMaximumSuppression
Registers the mo.non_maximum_suppression graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[dtype: DType](output: ManagedTensorSlice[IOSpec[_, _].Output, static_spec=output.static_spec], boxes: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=boxes.static_spec], scores: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=scores.static_spec], max_output_boxes_per_class: Int64, iou_threshold: Float32, score_threshold: Float32)