Skip to main content

Custom Layers in keras 3

Project description

Library Banner


👋 Welcome to keras custom documentation!

Keras Custom is a Python library that extends Keras with custom, non-native classes and modules designed to enhance model manipulation. This library introduces powerful new features, including advanced model analysis tools and utilities, that are not available in Keras by default. It provides a clear, modular framework built on top of Keras, making it an invaluable tool for researchers, educators, and developers working in deep learning.

The new non-native classes in Keras Custom enable users to efficiently analyze, modify, and optimize Keras-based neural models for a variety of downstream tasks. These custom components open up new possibilities for customizing and extending Keras models beyond the built-in functionality.

Whether you're exploring new architectures, conducting research, or building complex deep learning workflows, Keras Custom offers the flexibility and power to streamline your work.

📚 Table of contents

🚀 Quick Start

You can install keras custom directly from pypi:

pip install keras_custom

In order to use keras custom, you also need a valid Keras installation. keras custom supports Keras versions 3.x.

🔥 Tutorials

Tutorial Name Notebook
Model splitting - Splitting an existing models into a sequence of nested models Open In Colab
Model switching - Conversion to channel first to channel last and vice versa Open In Colab
Model fusion - Combining a sequence of models into a single model with only Layers Stay tuned !

Documentation is available online.

👍 Contributing

#To contribute, you can open an #issue, or fork this #repository and then submit changes through a #pull-request. We use black to format the code and follow PEP-8 convention. To check that your code will pass the lint-checks, you can run:

tox -e py39-lint

You need tox in order to run this. You can install it via pip:

pip install tox

🙏 Acknowledgments

DEEL Logo ANITI Logo
This project received funding from the French program within the Artificial and Natural Intelligence Toulouse Institute (ANITI). The authors gratefully acknowledge the support of the DEEL project.

📝 License

The package is released under MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras_custom-0.1.1.tar.gz (370.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keras_custom-0.1.1-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file keras_custom-0.1.1.tar.gz.

File metadata

  • Download URL: keras_custom-0.1.1.tar.gz
  • Upload date:
  • Size: 370.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for keras_custom-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01750b761f48d547e24b0108b07771389a32e25a6750cc69e3cec81f6fe1cf1d
MD5 4b4bf9032341f6b0a4924d95b3042091
BLAKE2b-256 c4e376e820275fb013aefad746ef1236a6c0540d9998df724776347b033d949a

See more details on using hashes here.

File details

Details for the file keras_custom-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: keras_custom-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for keras_custom-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a851bd3203faf682c1989b7d7b3a134928eed35f4cbd73817dc59be360e919
MD5 10071130f4f975e2f67c6569a6e000ea
BLAKE2b-256 ec56e72edd1c1b58fb7a53719d675ed1ad2c68ef3695735081581a7a72dec77b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page