GatherStatisticsPolicy¶
-
class
adcc.
GatherStatisticsPolicy
¶ Bases:
libadcc.CachingPolicy_i
This caching policy advises against caching any data, it does, however, keep track of the number of times the caching for a particular object has been requested and thus allows to gain some insight on the helpfulness of particular cachings.
Methods Summary
should_cache
(self, arg0, arg1, arg2)Should a particular tensor given by a label, its space string and the string of the spaces involved in the most expensive contraction be stored.
Methods Documentation
-
should_cache
(self: libadcc.CachingPolicy_i, arg0: str, arg1: str, arg2: str) → bool¶ Should a particular tensor given by a label, its space string and the string of the spaces involved in the most expensive contraction be stored.
-