def register_shape_i_c_code(typ, code, check_input, version=()):
 Shape_i.c_code_and_version[typ] = (code, check_input, version)

def register_shape_i_c_code ( typ , code , check_input , version = ( ) ) : Shape_i . c_code_and_version [ typ ] = ( code , check_input , version )
tell shape_i how to generate c code for a theano type .