rfho/datasets.py
def create_supplier(self, x, y, other_feeds=None):
        """
        Return a standard feed dictionary for this dataset.

        :param x: placeholder for data
        :param y: placeholder for target
        :param other_feeds: optional other feeds
        :return: a callable.
        """
        if not other_feeds: other_feeds = {}

        # noinspection PyUnusedLocal
        def _supplier(step=None):
            """

            :param step: unused, just for making it compatible with `HG` and `Saver`
            :return: the feed dictionary
            """
            if isinstance(self.data, WindowedData):
                data = self.data.generate_all()

            return {**{x: self.data, y: self.target}, **other_feeds}

        return _supplier

        Return a standard feed dictionary for this dataset.

        :param x: placeholder for data
        :param y: placeholder for target
        :param other_feeds: optional other feeds
        :return: a callable.
        
Return a standard feed dictionary for this dataset.
Return a standard feed dictionary for this dataset .
def create_supplier(self, x, y, other_feeds=None):
        if not other_feeds: other_feeds = {}
        def _supplier(step=None):
            if isinstance(self.data, WindowedData):
                data = self.data.generate_all()
            return {**{x: self.data, y: self.target}, **other_feeds}
        return _supplier
def create_supplier ( self , x , y , other_feeds = None ) : if not other_feeds : other_feeds = { } def _supplier ( step = None ) : """

            :param step: unused, just for making it compatible with `HG` and `Saver`
            :return: the feed dictionary
            """ if isinstance ( self . data , WindowedData ) : data = self . data . generate_all ( ) return { ** { x : self . data , y : self . target } , ** other_feeds } return _supplier
Return a standard feed dictionary for this dataset.
Return a standard feed dictionary for this dataset .
"""
        Return a standard feed dictionary for this dataset.

        :param x: placeholder for data
        :param y: placeholder for target
        :param other_feeds: optional other feeds
        :return: a callable.
        """ # noinspection PyUnusedLocal """

            :param step: unused, just for making it compatible with `HG` and `Saver`
            :return: the feed dictionary
            """
None
self
x
placeholder for data
placeholder for data
y
placeholder for target
placeholder for target
other_feeds
optional other feeds
optional other feeds