FLCMemoryUsage#

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

Bases: MemoryProfile

tme.matching_scores.flc_setup() memory estimator.

Attributes

FLCMemoryUsage.base_complex

Number of shared complex arrays

FLCMemoryUsage.base_float

Number of shared real arrays

FLCMemoryUsage.fork_complex

Number of complex arrays per fork

FLCMemoryUsage.fork_float

Number of real arrays per fork

Methods

FLCMemoryUsage.base_usage()

Return the base memory usage in bytes.

FLCMemoryUsage.per_fork()

Return the memory usage per fork in bytes.