No project description provided
Project description
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'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glu_keras-0.0.2.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glu_keras-0.0.2.tar.gz.
File metadata
- Download URL: glu_keras-0.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-32-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ebc564fb16a7592968968bfc6494c9c09e060e5eb4117e82e8f6fbd0b213e98
|
|
| MD5 |
6763f704e2d52588778379fd8d39cc8e
|
|
| BLAKE2b-256 |
d7e65c94bcc03e6cebe19da29762e9ddc6a0928068236857f4eafa5a98698fc5
|
File details
Details for the file glu_keras-0.0.2-py3-none-any.whl.
File metadata
- Download URL: glu_keras-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-32-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379c5c97902f04067083ccb364796041ccc99b6cee86d72811dcc3db78c08ab3
|
|
| MD5 |
66b5a43c66cc91b89455127add48a3c0
|
|
| BLAKE2b-256 |
228d95008d1462ee508fdd08206ebd207e13abdea268a52ba76bade83421ea69
|