code: def TF_NewSessionOptions(target=None, config=None):
      # NOTE: target and config are validated in the session constructor.
      opts = _TF_NewSessionOptions()
      if target is not None:
          _TF_SetTarget(opts, target)
      if config is not None:
          config_str = config.SerializeToString()
          _TF_SetConfig(opts, config_str)
      return opts
  
file_path: tensorflow-upstream/tensorflow/python/client/pywrap_tf_session.py
imports: from tensorflow.python import pywrap_tensorflow
  from tensorflow.python.client._pywrap_tf_session import *
  from tensorflow.python.client._pywrap_tf_session import _TF_SetTarget
  from tensorflow.python.client._pywrap_tf_session import _TF_SetConfig
  from tensorflow.python.client._pywrap_tf_session import _TF_NewSessionOptions
  from tensorflow.python.util import tf_stack
label_desc: Use image node_id 1 for calling a global function with example usage: TF_NewSessionOptions(target, config) and returns: opts