code: def wrapper_warning():
      """
      Issue a deprecation warning. Used in multiple places that implemented
      attacks by automatically wrapping a user-supplied callable with a
      CallableModelWrapper with output_layer="probs".
      Using "probs" as any part of the attack interface is dangerous.
      We can't just change output_layer to logits because:
      - that would be a silent interface change. We'd have no way of detecting
        code that still means to use probs. Note that we can't just check whether
        the final output op is a softmax---for example, Inception puts a reshape
        after the softmax.
      - automatically wrapping user-supplied callables with output_layer='logits'
        is even worse, see `wrapper_warning_logits`
      Note: this function will be removed at the same time as the code that
      calls it.
      """
      warnings.warn(
          "Passing a callable is deprecated, because using"
          " probabilities is dangerous. It has a high risk "
          " of causing gradient masking due to loss of precision "
          " in the softmax op. 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 1 for calling a global function with example usage: wrapper_warning() without return types