#NEWLINE# def __init__( self , X , load_fn , transform_fn , size , max_batches = 5 ) : #NEWLINE# #INDENT# self . X = X #NEWLINE# self . load_fn = load_fn #NEWLINE# self . transform_fn = transform_fn #NEWLINE# self . size = size #NEWLINE# self . batches = Queue ( max_batches )