code: def carlini_wagner_l2(model_fn, x, **kwargs):
      """
      This is the function interface for the Carlini-Wagner-L2 attack.
      For more details on the attack and the parameters see the corresponding class.
      """
      return CarliniWagnerL2(model_fn, **kwargs).attack(x)
  
file_path: cleverhans/cleverhans/tf2/attacks/carlini_wagner_l2.py
imports: import numpy
  import tensorflow
  from cleverhans.tf2.utils import get_or_guess_labels, set_with_mask
label_desc: Use image node_id 1 for calling a global function with example usage: carlini_wagner_l2(model_fn, x) and returns: CarliniWagnerL2