Add public API export statements #812
Labels
good first issue
Good for newcomers
stat:contributions welcome
Add this label to feature request issues so they are separated out from bug reporting issues
We're switching to a packaging system that uses an allowlist for public API symbols. All public API symbols (classes, functions) should be decorated with
@keras_nlp_export
as follows:Note that these statements include serialization, so you don't need any
register_keras_serializable
decorator calls anymore.For an example PR, see https://github.com/keras-team/keras-nlp/pull/811/files
We need to do this for all symbols listed on keras.io: https://keras.io/api/keras_nlp/
The text was updated successfully, but these errors were encountered: