code: def get_path_to_datafile(path, is_so=False):
      """Get the path to the specified file in the data dependencies.
  
      The path is relative to tensorflow_addons/
  
      Args:
        path: a string resource path relative to tensorflow_addons/
      Returns:
        The path to the specified data file
      """
      root_dir = get_project_root()
      if is_so:
          bazel_bin_dir = os.path.join(
              os.path.dirname(root_dir), "bazel-bin"
          )
          if os.path.isdir(bazel_bin_dir):
              root_dir = os.path.join(
                  bazel_bin_dir, "tensorflow_addons"
              )
      return os.path.join(root_dir, path.replace("/", os.sep))
  
file_path: addons/tensorflow_addons/utils/resource_loader.py
imports: from packaging.version import Version
  import os
  import warnings
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: get_path_to_datafile(path, is_so) and returns: os