Kernel binary memoizationΒΆ

cupy.memoize Makes a function memoizing the result for each argument and device.
cupy.clear_memo Clears the memoized results for all functions decorated by memoize.