Closed nottombrown closed 5 years ago
Small refactor with the goal of improved readability.
cc @carlini
My thinking on this is to mirror the api that we expose in the bird_or_bicycle dataset:
bird_or_bicycle
https://github.com/google/unrestricted-adversarial-examples/blob/master/bird-or-bicycle/bird_or_bicycle/iterator.py#L24
That makes sense to me.
Small refactor with the goal of improved readability.