def init_feed(feed):
    """
    Initialise a feed
    :param feed: Feed
    :return: tf.data.Iterator.initializer
    :return: tensor slices
    """
    feed = feed.feed
    iterator_tensor = feed.make_initializable_iterator()
    return iterator_tensor.initializer, iterator_tensor.get_next()