code: def disable_resource_variables() -> None:
      """Opts out of resource variables.
  
      If your code needs tf.disable_resource_variables() to be called to work
      properly please file a bug.
      """
      global _DEFAULT_USE_RESOURCE
      _DEFAULT_USE_RESOURCE = False
      logging.vlog(1, "Disabling resource variables")
      _api_usage_gauge.get_cell().set(False)
  
imports: from tensorflow.python import tf2
  from tensorflow.python.eager import monitoring
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling a global function with example usage: disable_resource_variables() without return types