Skip to main content

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)

Source distribution for GLU-KERAS 0.0.2
File Size Uploaded
glu_keras-0.0.2.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GLU-KERAS 0.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page