Skip to content

Commit

Permalink
Fix for black formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
  • Loading branch information
kieranfraser committed Jun 28, 2023
1 parent 84c9e2b commit 81408e5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,7 @@ def _get_losses(
else:
y_tensor = y # type: ignore

x_preprocessed, y_preprocessed = self._apply_preprocessing(
x, y=y_tensor, fit=False, no_grad=True
)
x_preprocessed, y_preprocessed = self._apply_preprocessing(x, y=y_tensor, fit=False, no_grad=True)

if self.clip_values is not None:
norm_factor = self.clip_values[1]
Expand Down

0 comments on commit 81408e5

Please sign in to comment.