code: def test_single_pixel():
      compare_attacks(
          SinglePixelAttack,
          attack_kwargs[SinglePixelAttack],
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import warnings
  import numpy
  import torch
  from advertorch.attacks import SinglePixelAttack
  from advertorch.attacks import LocalSearchAttack
  from advertorch.utils import predict_from_logits
  from advertorch.test_utils import merge2dicts
  from advertorch.test_utils import MLP
  from advertorch_examples.utils import TRAINED_MODEL_PATH
  from advertorch_examples.utils import get_mnist_test_loader
  import foolbox
  from foolbox.attacks.localsearch import SinglePixelAttack
  from foolbox.attacks.localsearch import LocalSearchAttack
label_desc: Use image node_id 3 for calling a global function with example usage: test_single_pixel() without return types