code: def create_local_module_dir(cache_dir, module_name):
    
    tf_v1.gfile.MakeDirs(cache_dir)
    return os.path.join(cache_dir, module_name)
docs: Creates and returns the name of directory where to cache a module.