use newer tensorflow interface when available
use newer tensorflow interface when available

cihangxie/cleverhans,carlini/cleverhans,openai/cleverhans,cleverhans-lab/cleverhans,cleverhans-lab/cleverhans,cleverhans-lab/cleverhans,carlini/cleverhans,fartashf/cleverhans