class_docstr: Generic class for attacker steps, under perturbation constraints
  specified by an "origin input" and a perturbation magnitude.
  Must implement project, step, and random_perturb
class_docstr_tok: ["Generic","class","for","attacker","steps",",","under","perturbation","constraints","specified","by","an","``","origin","input","''","and","a","perturbation","magnitude",".","Must","implement","project",",","step",",","and","random_perturb"]
docstr: Given a starting input, take a random step within the feasible set
docstr_tok: ["Given","a","starting","input",",","take","a","random","step","within","the","feasible","set"]
code: def random_perturb(self, x):
      """
      Given a starting input, take a random step within the feasible set
      """
      raise NotImplementedError
  
imports: import torch
label_desc: Use image node_id 4 for calling the AttackerStep obj's underlying member method code with example usage: obj.random_perturb(x) without return types