Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jul 29, 2024
1 parent 58a6e42 commit 616cf50
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion keras/src/callbacks/reduce_lr_on_plateau.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def on_epoch_end(self, epoch, logs=None):
self.model.optimizer.learning_rate = new_lr
if self.verbose > 0:
io_utils.print_msg(
f"\nEpoch {epoch +1}: "
f"\nEpoch {epoch + 1}: "
"ReduceLROnPlateau reducing "
f"learning rate to {new_lr}."
)
Expand Down
6 changes: 3 additions & 3 deletions keras/src/layers/convolutional/conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class Conv2D(BaseConv):
"""2D convolution layer.
This layer creates a convolution kernel that is convolved with the layer
input over a 2D spatial (or temporal) dimension (height and width) to
produce a tensor of outputs. If `use_bias` is True, a bias vector is created
and added to the outputs. Finally, if `activation` is not `None`, it is
input over a 2D spatial (or temporal) dimension (height and width) to
produce a tensor of outputs. If `use_bias` is True, a bias vector is created
and added to the outputs. Finally, if `activation` is not `None`, it is
applied to the outputs as well.
Args:
Expand Down
6 changes: 3 additions & 3 deletions keras/src/layers/convolutional/conv3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class Conv3D(BaseConv):
"""3D convolution layer.
This layer creates a convolution kernel that is convolved with the layer
input over a 3D spatial (or temporal) dimension (width,height and depth) to
produce a tensor of outputs. If `use_bias` is True, a bias vector is created
and added to the outputs. Finally, if `activation` is not `None`, it is
input over a 3D spatial (or temporal) dimension (width,height and depth) to
produce a tensor of outputs. If `use_bias` is True, a bias vector is created
and added to the outputs. Finally, if `activation` is not `None`, it is
applied to the outputs as well.
Args:
Expand Down

0 comments on commit 616cf50

Please sign in to comment.