def _get_variable_outputs(variable_read_op, graph):
    """ Returns the list of tensors that have the variable as input """
    outputs = []
    for graph_op in graph.get_operations():
        for var_input in graph_op.inputs._inputs:
            if var_input in variable_read_op.outputs:
                outputs += [graph_op]
    return outputs
