convex_adversarial
convex_adversarial copied to clipboard
Constructing a DualNetwork instance with an a single-element np.ndarray `epsilon` value fails.
The same code works with the same value of epsilon when it is changed to a Python built-in float instead.
Tested with PyTorch 0.4.0 (CPU).