<s> """<STR_LIT>""" <EOL> import numpy as np <EOL> import mean_py <EOL> import mean_c <EOL> import time <EOL> a = np . random . rand ( <NUM_LIT> , <NUM_LIT> ) . astype ( np . float32 ) <EOL> start = time . clock ( ) <EOL> m1 = a . mean ( axis = <NUM_LIT:0> ) <EOL> print '<STR_LIT>' % ( time . clock ( ) - start ) <EOL> print m1 . shape <EOL> start = time . clock ( ) <EOL> m2 = mean_c . mean ( a ) <EOL> print '<STR_LIT>' % ( time . clock ( ) - start ) <EOL> print m2 . shape </s>
