Skip to main content

Feed forward layer implemented in Keras

Project description

Keras Position-Wise Feed Forward

Travis Coverage

Implementation of position-wise feed forward layer in the paper: Attention is All You Need


pip install keras-position-wise-feed-forward


import keras
from keras_position_wise_feed_forward import FeedForward

input_layer = keras.layers.Input()
feed_forward_layer = FeedForward()(input_layer)
model = keras.models.Model(inputs=input_layer, outputs=feed_forward_layer)
model.compile(optimizer='adam', loss='mse', metrics={})

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for keras-position-wise-feed-forward, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size keras-position-wise-feed-forward-0.2.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page