def find_node_by_output_name(g, name):
    """
    Find a node in the graph by its output name

    :param g: the onnx graph\\
    :param name: the target node output name\\
    :returns: the node find by name
    """
    for i in g.node:
        if name in i.output:
            return i
    return None