#NEWLINE# def scan( step_function , inputs ) : #NEWLINE# #INDENT# inputs = [ dict ( input = input ) for input in inputs ] #NEWLINE# ( results , updates ) = theano . scan ( step_function , sequences = inputs , outputs_info = [ None ] ) #NEWLINE# return ( updates , updates )