def register_specify_shape_c_code(typ, code, version=(), c_support_code_apply=None):
 SpecifyShape.c_code_and_version[typ] = (code, version, c_support_code_apply)

def register_specify_shape_c_code ( typ , code , version = ( ) , c_support_code_apply = None ) : SpecifyShape . c_code_and_version [ typ ] = ( code , version , c_support_code_apply )
tell specifyshape how to generate c code for a theano type .