def register_view_op_c_code(type, code, version=()):
 ViewOp.c_code_and_version[type] = (code, version)

def register_view_op_c_code ( type , code , version = ( ) ) : ViewOp . c_code_and_version [ type ] = ( code , version )
tell viewop how to generate c code for a theano type .