Skip to main content

Extra activation functions for Trax

Project description

Trax Extra Activation Functions

Extra activation functions for Trax

pip install trax-extra-activation

How to use

You can use activation functions in the same way as that ones implemented in Trax.

from trax_extra_activation import TanhExp
model = tl.Serial(
    tl.Embedding(vocab_size=8192, d_feature=256),
    tl.Mean(axis=1),
    tl.Dense(2),
    TanhExp()
)

Activations

Project details


Download files

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

Source Distribution

trax-extra-activation-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

trax_extra_activation-0.0.2-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page