CORRMemoryUsage#

class CORRMemoryUsage(fast_shape, ft_shape, float_nbytes, complex_nbytes, integer_nbytes)[source]#

Bases: MemoryProfile

tme.matching_scores.corr_setup() memory estimator.

Attributes

CORRMemoryUsage.base_complex

Number of shared complex arrays

CORRMemoryUsage.base_float

Number of shared real arrays

CORRMemoryUsage.fork_complex

Number of complex arrays per fork

CORRMemoryUsage.fork_float

Number of real arrays per fork

Methods

CORRMemoryUsage.base_usage()

Return the base memory usage in bytes.

CORRMemoryUsage.per_fork()

Return the memory usage per fork in bytes.