# tensorplay.utils.checkpoint.create_selective_checkpoint_contexts Source: https://www.tensorplay.cn/docs/generated/tensorplay.utils.checkpoint.create_selective_checkpoint_contexts.html ```python tensorplay.utils.checkpoint.create_selective_checkpoint_contexts(policy_fn_or_list: Callable[[...], Any] | list[Any], allow_cache_entry_mutation: bool = False) ```