Update call to utils_tf
@@ -565,7 +565,7 @@ class ProjectedGradientDescent(Attack):
eta = clip_eta(eta, self.ord, self.eps)
adv_x = x + eta
if self.clip_min is not None or self.clip_max is not None:
- adv_x = tf.clip_by_value(adv_x, self.clip_min, self.clip_max)
+ adv_x = utils_tf.clip_by_value(adv_x, self.clip_min, self.clip_max)
# Fix labels to the first model predictions for loss computation
model_preds = self.model.get_probs(x)
