DefaultCachingPolicy

class adcc.DefaultCachingPolicy

Bases: libadcc.CachingPolicy_i

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.