Skip to content

Commit

Permalink
Fixing doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogenesAnalytics committed Jan 20, 2024
1 parent 459c16d commit e8434ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoencoder/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def build_anomaly_loss_function(
model: Union[keras.Model, BaseAutoencoder],
axis: Tuple[int, ...] = (1, 2, 3),
) -> Callable[[tf.Tensor, tf.Tensor], tf.Tensor]:
"""Wraps the custom anomaly detection loss function."""
"""Closure that sets up the custom anomaly detection loss function."""
# check model type
if isinstance(model, BaseAutoencoder):
# get keras.Model object
Expand Down

0 comments on commit e8434ff

Please sign in to comment.