quantnn/data.py
def next_epoch(self):
        """
        Sends signal to manager to start loading of next epoch.
        """
        # Empty done queue.
        while not self.done_queue.empty():
            self.done_queue.get()

        files = []
        files = list(self._rng.permutation(self.files))
        for f in files:
            self.task_queue.put(f)
        self.done_flag.clear()

        Sends signal to manager to start loading of next epoch.
        
Sends signal to manager to start loading of next epoch.
Sends signal to manager to start loading of next epoch .
def next_epoch(self):
        while not self.done_queue.empty():
            self.done_queue.get()
        files = []
        files = list(self._rng.permutation(self.files))
        for f in files:
            self.task_queue.put(f)
        self.done_flag.clear()
def next_epoch ( self ) : while not self . done_queue . empty ( ) : self . done_queue . get ( ) files = [ ] files = list ( self . _rng . permutation ( self . files ) ) for f in files : self . task_queue . put ( f ) self . done_flag . clear ( )
Sends signal to manager to start loading of next epoch.
Sends signal to manager to start loading of next epoch .
"""
        Sends signal to manager to start loading of next epoch.
        """ # Empty done queue.
self