code: def _get_sobol_data_path():
      """Returns path of file 'new-joe-kuo-6.21201'.
  
      Location of file 'new-joe-kuo-6.21201' depends on the environment in
      which this code is executed. In Google internal environment file
      'new-joe-kuo-6.21201' is accessible using the
      'third_party/sobol_data/new-joe-kuo-6.21201' file path.
  
      However, this doesn't work in the pip package. In pip package the directory
      'third_party' is a subdirectory of directory 'tf_quant_finance' and in
      this case we construct a file path relative to the __file__ file path.
  
      If this library is installed in editable mode with `pip install -e .`, then
      the directory 'third_party` will be at the top level of the repository
      and need to search a level further up relative to __file__.
      """
      filename = "new-joe-kuo-6.21201"
      path1 = os.path.join("third_party", "sobol_data", filename)
      path2 = os.path.abspath(
          os.path.join(
              os.path.dirname(__file__),
              "..",
              "..",
              "..",
              "third_party",
              "sobol_data",
              filename,
          )
      )
      path3 = os.path.abspath(
          os.path.join(
              os.path.dirname(__file__),
              "..",
              "..",
              "..",
              "..",
              "third_party",
              "sobol_data",
              filename,
          )
      )
      path4 = os.path.abspath(
          os.path.join(
              os.path.dirname(__file__),
              "..",
              "..",
              "..",
              "..",
              "..",
              "third_party",
              "sobol_data",
              filename,
          )
      )
  
      paths = [path1, path2, path3, path4]
      for path in paths:
          if os.path.exists(path):
              return path
  
file_path: tf-quant-finance/tf_quant_finance/math/random_ops/sobol/sobol_impl.py
imports: import logging
  import os
  from typing import Optional, Tuple
  import numpy
  from six.moves import range
  import tensorflow.compat.v2
  from tf_quant_finance import types
label_desc: Use image node_id 3 for calling a global function with example usage: _get_sobol_data_path() and returns: path