class_docstr: Blackbox random sample attack.
class_docstr_tok: ["Blackbox","random","sample","attack","."]
code: def __init__(self, m, back="tf", sess=None):
      if not isinstance(m, model.Model):
          m = model.CallableModelWrapper(m, "probs")
  
      super(RandomAttack, self).__init__(m, back, sess)
      self.feedable_kwargs = {
          "eps": np.float32,
          "num_samples": np.float32,
          "num_batches": np.float32,
          "y": np.float32,
          "y_target": np.float32,
          "clip_min": np.float32,
          "clip_max": np.float32,
      }
      self.structural_kwargs = ["ord"]
  
file_path: tensor2tensor/tensor2tensor/utils/adv_attack_utils.py
imports: from cleverhans import attacks
  from cleverhans import model
  from cleverhans import utils_tf
  import numpy
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new RandomAttack object from inherited base classes: attacks with example: obj = RandomAttack(m, back, sess)