#NEWLINE# def iterX( self , X ) : #NEWLINE# #INDENT# self . loader = Loader ( X , self . test_load , self . test_transform , self . size ) #NEWLINE# self . proc = Process ( target = self . loader . load ) #NEWLINE# self . proc . start ( ) #NEWLINE# for xmb in iter_data ( X , size = self . size ) : #NEWLINE# #INDENT# xmb = self . loader . get ( ) #NEWLINE# ( yield xmb )