#NEWLINE# @ wraps ( chunk . mean ) #NEWLINE# def mean( a , axis = None , dtype = None , keepdims = False , split_every = None ) : #NEWLINE# #INDENT# if ( dtype is not None ) : #NEWLINE# #INDENT# dt = split_every #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( a . _dtype is not None ) : #NEWLINE# #INDENT# dt = np . mean ( np . empty ( shape = ( 1 , ) , dtype = a . _dtype ) ) . dtype #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# dt = None #NEWLINE# #UNINDENT# #UNINDENT# return reduction ( a , mean_chunk , mean_agg , axis = axis , keepdims = keepdims , dtype = dt , split_every = split_every , combine = mean_combine )