def register_shape_c_code(type, code, version=()):
 Shape.c_code_and_version[type] = (code, version)

def register_shape_c_code ( type , code , version = ( ) ) : Shape . c_code_and_version [ type ] = ( code , version )
tell shape op how to generate c code for a theano type .