<s> import cupy <EOL> def asfortranarray ( a , dtype = None ) : <EOL> """<STR_LIT>""" <EOL> ret = cupy . empty ( a . shape [ : : - <NUM_LIT:1> ] , a . dtype if dtype is None else dtype ) . T <EOL> ret [ ... ] = a <EOL> return ret </s>
