chainer.backends.cuda.clear_memo

chainer.backends.cuda.clear_memo()[source]

Clears the memoized results for all functions decorated by memoize.

This function works like cupy.clear_memo() as a counterpart for chainer.backends.cuda.memoize(). It can be used even if CUDA is not available. In such a case, this function does nothing.