def METHOD_NAME(onnx_graph: ONNXGraph):
    matches = get_structural_matches(
        onnx_graph, op_type="Add", children_ops=[[optional_node("Add")]]
    )
    assert list(map(str, matches)) == [
        "MatchResult(node='add1', parents=[], children=[['add2']])",
        "MatchResult(node='add2', parents=[], children=[[None]])",
    ]