keras-team / keras-contrib

Keras community contributions
MIT License
1.59k stars 653 forks source link

Adding Keras-Contrib functions using string alias #564

Open sleepingcat4 opened 1 year ago

sleepingcat4 commented 1 year ago

- What I did I have added the method on how to add functions as activations and others from keras-contrib library using string alias

- How I did it I used get_custom_objects() function from keras.utils.generic_utils

- How you can verify it I added an example snippet code to teach how string alias method can be used to add functions from keras-contrib library in the README.md file. I don't think that requires to write a test as it only shows how to add string alias not creating or compiling an entire model.


This pull request fixes #issue_number_here

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

sleepingcat4 commented 1 year ago

I have updated advanced functions importing method in the README file to comply with the latest version of Keras-Contrib