class_docstr: Abstract class that represents an adversarial object placed on an input image in order to attack a neural network.
class_docstr_tok: ["Abstract","class","that","represents","an","adversarial","object","placed","on","an","input","image","in","order","to","attack","a","neural","network","."]
docstr: Convert instance to a numpy array.
docstr_tok: ["Convert","instance","to","a","numpy","array","."]
code: def to_numpy(self) -> np.ndarray:
      """
      Convert instance to a numpy array.
      """
      raise NotImplementedError
  
imports: from abc import ABC, abstractmethod
  from logging import Logger
  from pathlib import Path
  import string
  from typing import Any, Callable, List, Tuple, Union
  import numpy
label_desc: Use image node_id 1 for calling the AdversarialObject obj's underlying member method code with example usage: obj.to_numpy() without return types