(graph)
Return the global feed_dict used for this graph.

    Parameters
    ----------
    graph : tf.Graph

    Returns
    -------
    feed_dict : dict
        The feed_dict for this graph.
Return the global feed_dict used for this graph.
Return the global feed_dict used for this graph .
def get_feed_dict(graph):
    """Return the global feed_dict used for this graph.

    Parameters
    ----------
    graph : tf.Graph

    Returns
    -------
    feed_dict : dict
        The feed_dict for this graph.
    """
    try:
        # Just return the feed_dict
        return graph.feed_dict_sl
    except AttributeError:
        # Create a new feed_dict for this graph
        graph.feed_dict_sl = {}
        return graph.feed_dict_sl
def get_feed_dict ( graph ) : try : # Just return the feed_dict return graph . feed_dict_sl except AttributeError : # Create a new feed_dict for this graph graph . feed_dict_sl = { } return graph . feed_dict_sl