Multibackend GLU and its variants
A Keras 3 port of Gated Linear Units and its variants. Ported from Rishit Dagli's Implementation
Installation
pip install glu_keras --upgrade
Usage
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'))
Metadata
Release files for GLU-KERAS 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| glu_keras-0.0.2.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glu_keras-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / glu_keras-0.0.2.tar.gz
| Download URL | glu_keras-0.0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ebc564fb16a7592968968bfc6494c9c09e060e5eb4117e82e8f6fbd0b213e98
|
|
BLAKE2b-256 checksum How to use checksums |
d7e65c94bcc03e6cebe19da29762e9ddc6a0928068236857f4eafa5a98698fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-32-generic
|
Release files / glu_keras-0.0.2-py3-none-any.whl
| Download URL | glu_keras-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379c5c97902f04067083ccb364796041ccc99b6cee86d72811dcc3db78c08ab3
|
|
BLAKE2b-256 checksum How to use checksums |
228d95008d1462ee508fdd08206ebd207e13abdea268a52ba76bade83421ea69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-32-generic
|