code: def create_cache():
      """Creates a memoize cache."""
      return _Cache(
          cache=collections.defaultdict(dict),
          hits=collections.defaultdict(
              lambda: collections.defaultdict(int)
          ),
      )
  
file_path: NeuralCompression/projects/torch_vct/utils/memoize.py
imports: import collections
  import functools
  from typing import Callable, Optional, Tuple, TypeVar, Union
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: create_cache() and returns: _Cache