!24416 add eps attr for IOU operator.

Merge pull request !24416 from wangshuide/wsd_master_new
This commit is contained in:
i-robot 2021-09-30 02:55:34 +00:00 committed by Gitee
commit 09098858bb
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ iou_op_info = TBERegOp("IOU") \
.compute_cost(10) \
.kernel_name("iou") \
.partial_flag(True) \
.attr("mode", "required", "str", "all") \
.attr("mode", "optional", "str", "all", "iou") \
.attr("eps", "optional", "float", "all", "1.0") \
.input(0, "bboxes", False, "required", "all") \
.input(1, "gtboxes", False, "required", "all") \
.output(0, "overlap", False, "required", "all") \