#NEWLINE# def set_data_loader( self , data_loader , dl_kwargs ) : #NEWLINE# #INDENT# 'Set data_loader for generator to load each sample of X into\n        data that can be augmented' #NEWLINE# self . data_loader = data_loader #NEWLINE# if ( data_loader is None ) : #NEWLINE# #INDENT# self . dl_kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . dl_kwargs = dl_kwargs