Skip to content

Commit

Permalink
Fix API generation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jul 24, 2023
1 parent f0a70e6 commit 628db59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_core/constraints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def serialize(constraint):
return serialization_lib.serialize_keras_object(constraint)


@keras_core_export("keras_core.initializers.deserialize")
@keras_core_export("keras_core.constraints.deserialize")
def deserialize(config, custom_objects=None):
"""Return a Keras constraint object via its config."""
return serialization_lib.deserialize_keras_object(
Expand Down

0 comments on commit 628db59

Please sign in to comment.