Metadata-Version: 2.1
Name: GLU-KERAS
Version: 0.0.2
Summary: 
License: MIT
Author: Muhammad Anas Raza
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: keras (>=3.0.0)
Description-Content-Type: text/markdown

# Multibackend GLU and its variants

A Keras 3 port of Gated Linear Units and its variants. Ported from [Rishit Dagli's Implementation](https://github.com/Rishit-dagli/GLU/tree/main)

# Installation

```shell
pip install glu_keras --upgrade
```

# Usage

```python
import keras
from glu_keras import SwiGLU

model = keras.Sequential()
model.add(keras.layers.Dense(units=10))
model.add(SwiGLU(bias = False, dim=-1, name='swiglu'))
```

