xnn.common.models.dispersion.triplet_cache_budget#

xnn.common.models.dispersion.triplet_cache_budget(like, budget)[source]#

Bytes the triple cache may hold: budget in GB, or None for a quarter of the free device memory (CPU: 1 GB); 0 disables the cache.

Parameters:
Return type:

int