Metadata-Version: 2.4
Name: keras_custom
Version: 0.1.1
Summary: Custom Layers in keras 3
Author-email: melanie.ducoffe@airbus.com
Project-URL: documentation, https://ducoffeM.github.io/keras_custom
Project-URL: repository, https://github.com/ducoffeM/keras_custom
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: keras>=3
Provides-Extra: dev
Requires-Dist: tox>=4.6.4; extra == "dev"
Dynamic: license-file


<div align="center">
        <picture>
                <source media="(prefers-color-scheme: dark)" srcset="./docs/assets/logo.png">
                <source media="(prefers-color-scheme: light)" srcset="./docs/assets/logo_night.png">
                <img alt="Library Banner" src="./docs/assets/logo.png" width="300" height="300">
        </picture>
</div>
<br>

<div align="center">
  <a href="#">
        <img src="https://img.shields.io/badge/Python-%E2%89%A53.9-efefef">
    </a>
    <a href="https://github.com/ducoffeM/keras_custom/actions/workflows/python-tests.yml">
        <img alt="Tox" src="https://github.com/ducoffeM/keras_custom/actions/workflows/python-tests.yml/badge.svg">
    </a>
    <a href="https://github.com/ducoffeM/keras_custom/actions/workflows/python-linters.yml">
        <img alt="Lint" src="https://github.com/ducoffeM/keras_custom/actions/workflows/python-linters.yml/badge.svg">
    </a>
    <a href="#">
        <img src="https://img.shields.io/badge/License-MIT-efefef">
    </a>
    <br>
    <a href="https://ducoffeM.github.io/keras_custom/"><strong>Explore KerasCustom docs »</strong></a>
</div>
<br>

## 👋 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

- [📚 Table of contents](#-table-of-contents)
- [🔥 Tutorials](#-tutorials)
- [🚀 Quick Start](#-quick-start)
- [📦 What's Included](#-whats-included)
- [👍 Contributing](#-contributing)
- [🙏 Acknowledgments](#-acknowledgments)
- [📝 License](#-license)

## 🚀 Quick Start

You can install ``keras custom`` directly from pypi:

```python
pip install keras_custom
```

In order to use ``keras custom``, you also need a [valid Keras
installation](https://keras.io/getting_started/). ``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](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ducoffeM/keras_custom/blob/main/tutorials/ModelSplitting.ipynb)            |
| Model switching - Conversion to channel first to channel last and vice versa | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ducoffeM/keras_custom/blob/main/tutorials/SwitchingChannel.ipynb)            |
| Model fusion - Combining a sequence of models into a single model with only Layers | Stay tuned !


Documentation is available [**online**](https://ducoffeM.github.io/keras_custom/index.html).


## 👍 Contributing

#To contribute, you can open an
#[issue](https://github.com/ducoffeM/keras_custom/issues), or fork this
#repository and then submit changes through a
#[pull-request](https://github.com/ducoffeM/keras_custom/pulls).
We use [black](https://pypi.org/project/black/) to format the code and follow PEP-8 convention.
To check that your code will pass the lint-checks, you can run:

```python
tox -e py39-lint
```

You need [`tox`](https://tox.readthedocs.io/en/latest/) in order to
run this. You can install it via `pip`:

```python
pip install tox
```


## 🙏 Acknowledgments

<div align="right">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://share.deel.ai/apps/theming/image/logo?useSvg=1&v=10"  width="25%" align="right">
    <source media="(prefers-color-scheme: light)" srcset="https://www.deel.ai/wp-content/uploads/2021/05/logo-DEEL.png"  width="25%" align="right">
    <img alt="DEEL Logo" src="https://www.deel.ai/wp-content/uploads/2021/05/logo-DEEL.png" width="25%" align="right">
  </picture>
  <picture>
    <img alt="ANITI Logo" src="https://aniti.univ-toulouse.fr/wp-content/uploads/2023/06/Capture-decran-2023-06-26-a-09.59.26-1.png" width="25%" align="right">
  </picture>
</div>
This project received funding from the French program within the <a href="https://aniti.univ-toulouse.fr/">Artificial and Natural Intelligence Toulouse Institute (ANITI)</a>. The authors gratefully acknowledge the support of the <a href="https://www.deel.ai/"> DEEL </a> project.



## 📝 License

The package is released under <a href="https://choosealicense.com/licenses/mit"> MIT license</a>.
