code: def get_data_dir():
      pkg, _ = os.path.split(__file__)
      pkg, _ = os.path.split(pkg)
      return os.path.join(pkg, "test_data")
  
file_path: tensor2tensor/tensor2tensor/visualization/visualization_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from tensor2tensor.utils import trainer_lib
  from tensor2tensor.visualization import visualization
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: get_data_dir() and returns: os