def predict(self, x: np.ndarray) -> np.ndarray:
            """
            Predict class of an image.
            :returns: prediction scores for arrays
            """
            self.x = x
            arr = np.zeros(42)
            arr[adversarial_class] = 1
            return np.array([arr])

            Predict class of an image.
            :returns: prediction scores for arrays
            
tests/attacks/evasion/test_laser_attack.py