#NEWLINE# def transpose( self , * axes ) : #NEWLINE# #INDENT# '\n\n        Returns\n        -------\n        object\n            `tensor.transpose(self, axes)` or `tensor.transpose(self, axes[0])`.\n\n        If only one `axes` argument is provided and it is iterable, then it is\n        assumed to be the entire axes tuple, and passed intact to\n        tensor.transpose.\n\n        ' #NEWLINE# if ( len ( axes ) == 0 ) : #NEWLINE# #INDENT# return theano . tensor . basic . transpose ( self ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# iter ( axes [ 0 ] ) #NEWLINE# iterable = True #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# iterable = False #NEWLINE# #UNINDENT# if ( ( len ( axes ) == 1 ) and iterable ) : #NEWLINE# #INDENT# return theano . tensor . basic . transpose ( self , axes [ 0 ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return theano . tensor . basic . transpose ( self , iterable )