#NEWLINE# def common_setup( self ) : #NEWLINE# #INDENT# ex_scheme = SequentialExampleScheme ( self . dataset . num_examples ) #NEWLINE# self . example_stream = DataStream ( self . dataset , iteration_scheme = ex_scheme ) #NEWLINE# self . batch_size = 2 #NEWLINE# scheme = ShuffledScheme ( self . dataset . num_examples , batch_size = self . batch_size ) #NEWLINE# self . batch_stream = DataStream ( ex_scheme . dataset , iteration_scheme = scheme )