code: def setup_tf_environment() -> None:
      """Setup CPU and GPU related environment settings for TensorFlow."""
      _setup_cpu_environment()
      _setup_gpu_environment()
  
file_path: rasa/rasa/utils/tensorflow/environment.py
imports: import logging
  import os
  from typing import Text, Dict
  import typing
  import rasa.shared.utils.io
  from rasa.constants import ENV_GPU_CONFIG, ENV_CPU_INTER_OP_CONFIG, ENV_CPU_INTRA_OP_CONFIG
  from rasa.utils.tensorflow.constants import TF_DETERMINISTIC_OPS
  from rasa.shared.utils import io
label_desc: Use image node_id 5 for calling a global function with example usage: setup_tf_environment() without return types