MCPcopy Create free account
hub / github.com/OpenGVLab/DragGAN / set_cache_dir

Function set_cache_dir

draggan/stylegan2/dnnlib/util.py:120–122  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

118_dnnlib_cache_dir = None
119
120def set_cache_dir(path: str) -> None:
121 global _dnnlib_cache_dir
122 _dnnlib_cache_dir = path
123
124def make_cache_dir_path(*paths: str) -> str:
125 if _dnnlib_cache_dir is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected