Skip to content

Commit

Permalink
Fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Apr 8, 2024
1 parent b37be22 commit f77b020
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion keras/backend/jax/trainer.py
Expand Up @@ -7,7 +7,6 @@

from keras import backend
from keras import callbacks as callbacks_module
from keras import ops
from keras import optimizers as optimizers_module
from keras.backend import distribution_lib as jax_distribution_lib
from keras.distribution import distribution_lib
Expand Down
1 change: 1 addition & 0 deletions keras/trainers/trainer.py
Expand Up @@ -967,6 +967,7 @@ def to_symbolic_input(v):
y,
sample_weight,
) = data_adapter_utils.unpack_x_y_sample_weight(data_batch)

# Build all model state with `backend.compute_output_spec`.
try:
y_pred = backend.compute_output_spec(self, x)
Expand Down

0 comments on commit f77b020

Please sign in to comment.