#NEWLINE# def transform_Map( self , expr ) : #NEWLINE# #INDENT# expr . args = self . transform_simple_exprs ( expr . args ) #NEWLINE# expr . fn = self . transform_expr ( expr . fn ) #NEWLINE# expr . axis = self . transform_if_expr ( expr . axis ) #NEWLINE# max_rank = max ( ( self . rank ( arg ) for arg in expr . args ) ) #NEWLINE# if ( ( max_rank == 1 ) and self . is_none ( expr . axis ) ) : #NEWLINE# #INDENT# expr . axis = zero_i64 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( expr . axis is None ) : #NEWLINE# #INDENT# expr . axis = none #NEWLINE# #UNINDENT# #UNINDENT# return expr