def METHOD_NAME(model):
    for i in range(len(model.blocks[0].ops)):
        if model.blocks[0].ops[i].type == "matmul":
            if not model.blocks[0].ops[i].has_attr("head_number"):
                model.blocks[0].ops[i]._set_attr("head_number", 1)
        elif model.blocks[0].ops[i].type == "yolo_box":
            if not model.blocks[0].ops[i].has_attr("iou_aware"):
                model.blocks[0].ops[i]._set_attr("iou_aware", False)
            if not model.blocks[0].ops[i].has_attr("iou_aware_factor"):
                model.blocks[0].ops[i]._set_attr("iou_aware_factor", 0.5)