updated TF JSMA attack so that it is more general; whereas before it only accepted input data of shape (n_samples, 1, n_rows, n_cols) it now accepts any shape, such as (3, n_rows, n_cols) for color images or (1, nb_features) for flat vector data.
updated TF JSMA attack so that it is more general; whereas before it only accepted input data of shape (n_samples, 1, n_rows, n_cols) it now accepts any shape, such as (3, n_rows, n_cols) for color images or (1, nb_features) for flat vector data.

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