examples/research_projects/onnx/summarization/bart_onnx/reduce_onnx_size.py/_graph_replace_input_with
def _graph_replace_input_with(graph_proto, name, new_name):
    for n in graph_proto.node:
        _node_replace_input_with(n, name, new_name)