default_act_cache_root
- hybrid_learning.concepts.analysis.analysis_handle.default_act_cache_root(wrapped_data, cache_root, main_model_stump)[source]
Determine the default activation cache root as
<cache_root>/<img_base>_<mainmodelclassname>-<layerid>
.<img_base>
is the base name of thewrapped_data.dataset_root
.- Parameters
wrapped_data (Union[BaseDataset,
torch.utils.data.Subset
]) –cache_root (str) –
main_model_stump (ModelStump) –
- Return type