cleverhans-lab / cleverhans

An adversarial example library for constructing attacks, building defenses, and benchmarking both
MIT License
6.15k stars 1.39k forks source link

[tf2] CarliniWagnerL2: Make const shape compatible for batch processing. #1219

Open kxyoke opened 2 years ago

kxyoke commented 2 years ago

Reduce shape of const for shape compatibility for batch_size > 1. Is this as intended for CarliniWagnerL2 and hence a fix for #1205?