default_mask_cache_root
- hybrid_learning.concepts.analysis.analysis_handle.default_mask_cache_root(wrapped_data, cache_root='dataset\\cache', concept_name=None)[source]
Determine the default activation data mask cache root. It is
<cache_root>/<base>
with<base>
being the base name of thewrapped_data.masks_root
if this is available, else<img_base>_<concept_name>
with<img_base>
the base name of thewrapped_data.dataset_root
.- Parameters
wrapped_data (Union[BaseDataset,
torch.utils.data.Subset
]) –cache_root (str) –
- Return type