code: def _collect_tensorflow_environment_variables(run_info):
      run_info["tensorflow_environment_variables"] = [
          {"name": k, "value": v}
          for k, v in sorted(os.environ.items())
          if k.startswith("TF_")
      ]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import datetime
  import json
  import multiprocessing
  import numbers
  import os
  import threading
  import uuid
  from six.moves import _thread
  from absl import flags
  import tensorflow
  from tensorflow.python.client import device_lib
  from utils.logs import cloud_lib
label_desc: Use image node_id 8 for calling a global function with example usage: _collect_tensorflow_environment_variables(run_info) without return types