Echo-AI
Python package containing all mathematical backend algorithms used in Machine Learning. The full documentation for Echo is provided here.
Table of Contents
About
Echo-AI Package is created to provide an implementation of the most promising mathematical algorithms, which are missing in the most popular deep learning libraries, such as PyTorch, Keras and TensorFlow.
Activation Functions
The package contains implementation for following activation functions (✅ - implemented functions, 🕑 - functions to be implemented soon, ⬜ - function is implemented in the original deep learning package):
| # | Function | Equation | Keras | PyTorch | TensorFlow-Keras | TensorFlow - Core |
|---|---|---|---|---|---|---|
| 1 | Weighted Tanh | ✅ | ✅ | ✅ | 🕑 | |
| 2 | Swish | ✅ | ✅ | ✅ | 🕑 | |
| 3 | ESwish | ✅ | ✅ | ✅ | 🕑 | |
| 4 | Aria2 | ✅ | ✅ | ✅ | 🕑 | |
| 5 | ELiSH | ✅ | ✅ | ✅ | 🕑 | |
| 6 | HardELiSH | ✅ | ✅ | ✅ | 🕑 | |
| 7 | Mila | ✅ | ✅ | ✅ | 🕑 | |
| 8 | SineReLU | ✅ | ✅ | ✅ | 🕑 | |
| 9 | Flatten T-Swish | ✅ | ✅ | ✅ | 🕑 | |
| 10 | SQNL | ✅ | ✅ | ✅ | 🕑 | |
| 11 | ISRU | ✅ | ✅ | ✅ | 🕑 | |
| 12 | ISRLU | ✅ | ✅ | ✅ | 🕑 | |
| 13 | Bent's identity | ✅ | ✅ | ✅ | 🕑 | |
| 14 | Soft Clipping | ✅ | ✅ | ✅ | 🕑 | |
| 15 | SReLU | ✅ | ✅ | ✅ | 🕑 | |
| 15 | BReLU | 🕑 | ✅ | ✅ | 🕑 | |
| 16 | APL | 🕑 | ✅ | ✅ | 🕑 | |
| 17 | Soft Exponential | ✅ | ✅ | ✅ | 🕑 | |
| 18 | Maxout | 🕑 | ✅ | ✅ | 🕑 | |
| 19 | Mish | ✅ | ✅ | ✅ | 🕑 | |
| 20 | Beta Mish | ✅ | ✅ | ✅ | 🕑 | |
| 21 | RReLU | 🕑 | ⬜ | 🕑 | 🕑 | |
| 22 | CELU | ✅ | ⬜ | ✅ | 🕑 | |
| 23 | ReLU6 | ✅ | ⬜ | 🕑 | 🕑 | |
| 24 | HardTanh | ✅ | ⬜ | ✅ | 🕑 | |
| 25 | GLU | 🕑 | ⬜ | 🕑 | 🕑 | |
| 26 | LogSigmoid | ✅ | ⬜ | ✅ | 🕑 | |
| 27 | TanhShrink | ✅ | ⬜ | ✅ | 🕑 | |
| 28 | HardShrink | ✅ | ⬜ | ✅ | 🕑 | |
| 29 | SoftShrink | ✅ | ⬜ | ✅ | 🕑 | |
| 30 | SoftMin | ✅ | ⬜ | ✅ | 🕑 | |
| 31 | LogSoftmax | ✅ | ⬜ | ✅ | 🕑 | |
| 32 | Gumbel-Softmax | 🕑 | ⬜ | 🕑 | 🕑 |
Repository Structure
The repository has the following structure:
- echoAI # main package directory
| - Activation # sub-package containing activation functions implementation
| |- Torch # sub-package containing implementation for PyTorch
| | | - functional.py # script which contains implementation of activation functions
| | | - weightedTanh.py # activation functions wrapper class for PyTorch
| | | - ... # PyTorch activation functions wrappers
| |- Keras # sub-package containing implementation for Keras
| | | - custom_activations.py # script which contains implementation of activation functions
| |- TF_Keras # sub-package containing implementation for Tensorflow-Keras
| | | - custom_activation.py # script which contains implementation of activation functions
| - __init__.py
- Observations # Folder containing other assets
- docs # Sphinx documentation folder
- LICENSE # license file
- README.md
- setup.py # package setup file
- Smoke_tests # folder, which contains scripts with demonstration of activation functions usage
- Unit_tests # folder, which contains unit test scripts
Setup Instructions
To install echoAI package from PyPI run the following command:
$ pip install echoAI
Code Examples:
Sample scripts are provided in Smoke_tests folder. You can use activation functions from echoAI as simple as this:
# import PyTorch
import torch
# import activation function from echoAI
from echoAI.Activation.Torch.mish import Mish
# apply activation function
mish = Mish()
t = torch.tensor(0.1)
t_mish = mish(t)
Metadata
Release files for echoAI 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| echoAI-0.1.3.tar.gz | 20.5 kB | Without provenance | Details for echoAI-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| echoAI-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for echoAI-0.1.3-py3-none-any.whl |
Total release size: 57.8 kB
Release files / echoAI-0.1.3.tar.gz
| Download URL | echoAI-0.1.3.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
911e6775d08c20606bb8dcaa7967911dae509f533524c80a8fdaaf5d0533f040
|
|
BLAKE2b-256 checksum How to use checksums |
f815909c23e7a61512401c066e2d68b36ba8422d28e8a064ca04ea2003012ca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / echoAI-0.1.3-py3-none-any.whl
| Download URL | echoAI-0.1.3-py3-none-any.whl |
|---|---|
| Size | 37.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15e546b41565dcc15f6f6f603c9ad6a4bda1c69eb6ec7f0bea5cfbe8d653f27a
|
|
BLAKE2b-256 checksum How to use checksums |
6834ceb22e489bb1a2a04293c38a2112f7de2de50875504abd222e729f4404ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Security for echoAI 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.