code: def new_executor(
      enable_async,
      enable_streaming_enqueue=True,
      in_flight_nodes_limit=0,
  ):
      handle = pywrap_tfe.TFE_NewExecutor(
          enable_async, enable_streaming_enqueue, in_flight_nodes_limit
      )
      return Executor(handle)
  
file_path: tensorflow/tensorflow/python/eager/executor.py
imports: from tensorflow.python import pywrap_tfe
label_desc: Use image node_id 1 for calling a global function with example usage: new_executor(enable_async, enable_streaming_enqueue, in_flight_nodes_limit) and returns: Executor