code: def wrapper_warning_logits():
      """
      Issue a deprecation warning. Used in multiple places that implemented
      attacks by automatically wrapping a user-supplied callable with a
      CallableModelWrapper with output_layer="logits".
      This is dangerous because it is under-the-hood automagic that the user
      may not realize has been invoked for them. If they pass a callable
      that actually outputs probs, the probs will be treated as logits,
      resulting in an incorrect cross-entropy loss and severe gradient
      masking.
      """
      warnings.warn(
          "Passing a callable is deprecated, because it runs the "
          "risk of accidentally using probabilities in the place "
          "of logits. Please switch to passing a Model subclass "
          "so that you clearly specify which values are the logits. "
          "Passing a callable rather than a Model subclass will become "
          "an error on or after 2019-04-24."
      )
  
imports: from abc import ABCMeta
  import warnings
  import tensorflow
  from cleverhans import utils_tf
label_desc: Use image node_id 2 for calling a global function with example usage: wrapper_warning_logits() without return types