examples/research_projects/onnx/summarization/bart_onnx/reduce_onnx_size.py/_is_equal_tensor_proto
def _is_equal_tensor_proto(a, b):
    name_a = a.name
    name_b = b.name

    a.name = ""
    b.name = ""

    res = a == b

    a.name = name_a
    b.name = name_b

    return res