Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmerrol committed Oct 27, 2023
1 parent 88cf488 commit 4d5b93c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion foolbox/attacks/brendel_bethge.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,9 @@ def logits_diff_and_grads(x) -> Tuple[Any, Any]:
# add step to current perturbation
x = (x + ep.astensor(deltas)).reshape(original_shape)

tb.probability("converged", ep.from_numpy(x, converged.astype(np.bool_)), step)
tb.probability(
"converged", ep.from_numpy(x, converged.astype(np.bool_)), step
)
tb.histogram("norms", source_norms, step)
tb.histogram("candidates/distances", distances, step)

Expand Down

0 comments on commit 4d5b93c

Please sign in to comment.