Skip to main content

Tensorflow Extra Utilities. https://github.com/awsaf49/tensorflow_extra

Project description

Tensorflow Extra

Extra Utilities for Tensorflow

Installation

pip install tensorflow-extra

Activations

SmeLU: Smooth ReLU

import tensorflow as tf
import tensorflow_extra as tfe

a = tf.constant([-2.5, -1.0, 0.5, 1.0, 2.5])
b = tfe.activations.smelu(a)  # array([0., 0.04166667, 0.6666667 , 1.0416666 , 2.5])

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

tensorflow_extra-1.0.2.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

tensorflow_extra-1.0.2-py3-none-any.whl (8.0 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