# Tensorflow Extra
> Extra Utilities for Tensorflow
# Installation
```shell
pip install tensorflow-extra
```
# Activations
## SmeLU: Smooth ReLU
```py
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])
```
<img src="images/smelu.png" width=500>
Raw data
{
"_id": null,
"home_page": "https://github.com/awsaf49/tensorflow_extra",
"name": "tensorflow-extra",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "tensorflow extra utilities",
"author": "Awsaf",
"author_email": "awsaf49@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2c/81/646420078d882c9bb1f69f028e6db6747cec5c372d2423b99400e1776839/tensorflow_extra-1.0.2.tar.gz",
"platform": null,
"description": "# Tensorflow Extra\n> Extra Utilities for Tensorflow\n\n# Installation\n```shell\npip install tensorflow-extra\n```\n\n# Activations\n## SmeLU: Smooth ReLU\n```py\nimport tensorflow as tf\nimport tensorflow_extra as tfe\n\na = tf.constant([-2.5, -1.0, 0.5, 1.0, 2.5])\nb = tfe.activations.smelu(a) # array([0., 0.04166667, 0.6666667 , 1.0416666 , 2.5])\n```\n<img src=\"images/smelu.png\" width=500>\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Tensorflow Extra Utilities. https://github.com/awsaf49/tensorflow_extra",
"version": "1.0.2",
"split_keywords": [
"tensorflow",
"extra",
"utilities"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2e51f78f97c43d5480e0603f5f22d85fe9ed02a55e7985544f0cbab2232aa18",
"md5": "592fb21912fee74f7986009c6b4ed5ef",
"sha256": "bb15f3acef5846dde20582c05f2e17902bf96afbf61b7fde14b18967ab62f8ae"
},
"downloads": -1,
"filename": "tensorflow_extra-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "592fb21912fee74f7986009c6b4ed5ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 8009,
"upload_time": "2023-03-17T04:35:15",
"upload_time_iso_8601": "2023-03-17T04:35:15.172944Z",
"url": "https://files.pythonhosted.org/packages/b2/e5/1f78f97c43d5480e0603f5f22d85fe9ed02a55e7985544f0cbab2232aa18/tensorflow_extra-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c81646420078d882c9bb1f69f028e6db6747cec5c372d2423b99400e1776839",
"md5": "5e52c7b1a0ce90cb82d543bc88bf9ad5",
"sha256": "6349c0f5ced5522fe449f95f7b95a513280944e84c95d4bcf763a1c12fb8e5bb"
},
"downloads": -1,
"filename": "tensorflow_extra-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "5e52c7b1a0ce90cb82d543bc88bf9ad5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 6981,
"upload_time": "2023-03-17T04:35:16",
"upload_time_iso_8601": "2023-03-17T04:35:16.783266Z",
"url": "https://files.pythonhosted.org/packages/2c/81/646420078d882c9bb1f69f028e6db6747cec5c372d2423b99400e1776839/tensorflow_extra-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-17 04:35:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "awsaf49",
"github_project": "tensorflow_extra",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "tensorflow",
"specs": []
}
],
"lcname": "tensorflow-extra"
}