tomodrgn.utils.Memoized#

class Memoized(func)[source]#

Bases: object

Decorator. Caches a function’s return value each time it is called. If called later with the same arguments, the cached value is returned (not reevaluated).

Methods

__call__(*args)[source]#

Call self as a function.