code: def check_deterministic_ops() -> None:
      """Warn user if they have set TF_DETERMINISTIC_OPS."""
      if os.getenv(TF_DETERMINISTIC_OPS, False):
          shared_io_utils.raise_warning(
              f"You have set '{TF_DETERMINISTIC_OPS}' to 1. If you are "
              f"using one or more GPU(s) and use any of 'SparseFeaturizer', "
              f"'TEDPolicy', 'DIETClassifier', 'UnexpecTEDIntentPolicy', or "
              f"'ResponseSelector' training and testing will fail as there are no "
              f"deterministic GPU implementations of some underlying TF ops.",
              category=UserWarning,
          )
  
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 6 for calling a global function with example usage: check_deterministic_ops() without return types