<s> from __future__ import absolute_import , print_function , division <EOL> import sys , timeit <EOL> import numpy <EOL> import scikits . image . opencv <EOL> try : <EOL> img_shape = int ( sys . argv [ <NUM_LIT:1> ] ) , int ( sys . argv [ <NUM_LIT:2> ] ) <EOL> ker_shape = int ( sys . argv [ <NUM_LIT:3> ] ) , int ( sys . argv [ <NUM_LIT:4> ] ) <EOL> dtype = sys . argv [ <NUM_LIT:5> ] <EOL> except : <EOL> print ( "<STR_LIT>" % sys . argv [ <NUM_LIT:0> ] , file = sys . stderr ) <EOL> sys . exit ( - <NUM_LIT:1> ) <EOL> nb_call = <NUM_LIT:1> <EOL> if len ( sys . argv ) > <NUM_LIT:6> : <EOL> nb_call = int ( sys . argv [ <NUM_LIT:6> ] ) <EOL> T = timeit . Timer ( "<STR_LIT>" , """<STR_LIT>""" ) <EOL> time = T . repeat ( repeat = <NUM_LIT:3> , number = nb_call ) <EOL> print ( min ( time ) , "<STR_LIT>" ) </s>
